Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 215.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.93 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.349, allocations: 65.47 MB / 0.5578 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003372/0.3524, allocations: 1.777 MB / 0.5595 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.3553, allocations: 1.735 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.3554, allocations: 0 / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3558, allocations: 55.69 kB / 0.5613 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.3562, allocations: 135.4 kB / 0.5614 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.3565, allocations: 115.6 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3568, allocations: 211.3 kB / 0.5617 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.3569, allocations: 5.812 kB / 0.5617 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.357, allocations: 91.56 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3572, allocations: 75.62 kB / 0.5619 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3572, allocations: 16 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3574, allocations: 111.9 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.3575, allocations: 39.84 kB / 0.562 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.3576, allocations: 43.72 kB / 0.5621 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.358, allocations: 236.9 kB / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.358, allocations: 0 / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.358, allocations: 0 / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.358, allocations: 0 / 0.5623 GB, free: 2.871 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008105/0.3588, allocations: 428.9 kB / 0.5627 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3589, allocations: 12.03 kB / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.437e-05/0.3589, allocations: 4.188 kB / 0.5627 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.3589, allocations: 34.73 kB / 0.5628 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.359, allocations: 16.84 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.3594, allocations: 198 kB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3594, allocations: 8.125 kB / 0.563 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3594, allocations: 0 / 0.563 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.3597, allocations: 152.5 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3597, allocations: 0 / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.3598, allocations: 7.984 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3598, allocations: 7.938 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3599, allocations: 31.98 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.3602, allocations: 177.7 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3605, allocations: 109.1 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3606, allocations: 37.7 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3606, allocations: 4 kB / 0.5635 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.3609, allocations: 120.9 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3609, allocations: 0 / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005342/0.3615, allocations: 177.4 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3616, allocations: 136.4 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.3619, allocations: 244.1 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.362, allocations: 29.7 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.3621, allocations: 116.1 kB / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.3621, allocations: 35.72 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3622, allocations: 29.72 kB / 0.5643 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3623, allocations: 330.8 kB / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.3624, allocations: 31.98 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3626, allocations: 128.5 kB / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.3628, allocations: 103.9 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3628, allocations: 0 / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003017/0.3631, allocations: 137.5 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3631, allocations: 8.031 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3631, allocations: 4 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3632, allocations: 7.984 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3633, allocations: 16 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3633, allocations: 0 / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.3634, allocations: 19.94 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3634, allocations: 4 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.3636, allocations: 146.2 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3636, allocations: 15.91 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.364, allocations: 170.6 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.364, allocations: 0 / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.364, allocations: 4 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.364, allocations: 0 / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.3642, allocations: 188.5 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3642, allocations: 0 / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.3643, allocations: 8 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3643, allocations: 4.25 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3643, allocations: 7.984 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.3643, allocations: 8 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3643, allocations: 0 / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3646, allocations: 197.6 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.3647, allocations: 23.8 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.3647, allocations: 4 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.3648, allocations: 7.984 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3648, allocations: 11.98 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3649, allocations: 4 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.3651, allocations: 181.8 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 0 / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.3654, allocations: 55.88 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00264/0.368, allocations: 1.166 MB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3683, allocations: 83.89 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3683, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3684, allocations: 47.91 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3688, allocations: 50.25 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.3713, allocations: 1.916 MB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3715, allocations: 107.4 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3716, allocations: 33.39 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3717, allocations: 63.41 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3717, allocations: 0 / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.4007, allocations: 5.873 MB / 0.5752 GB, free: 5.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.06, allocations: 9.062 kB / 0.5752 GB, free: 5.441 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.035111285047606] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.286707377061248 12.315911763 11.952646196 Calling exit ...