Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.002159/0.002159, allocations: 118.3 kB / 18.5 MB, free: 4.562 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.00294/0.00294, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.22/0.22, allocations: 44.9 MB / 355.8 MB, free: 12.34 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.002033/0.002033, allocations: 67.89 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1329, allocations: 65.41 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003444/0.1364, allocations: 1.741 MB / 0.5542 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1383, allocations: 1.031 MB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.1384, allocations: 0 / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1387, allocations: 47.7 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.139, allocations: 99.53 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.1392, allocations: 75.72 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1394, allocations: 103.7 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.1395, allocations: 12.28 kB / 0.5555 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.1396, allocations: 51.7 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.1396, allocations: 27.86 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1397, allocations: 4 kB / 0.5556 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.1398, allocations: 47.92 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1398, allocations: 27.91 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.1399, allocations: 35.75 kB / 0.5557 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1401, allocations: 111.5 kB / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1401, allocations: 3.984 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1401, allocations: 7.938 kB / 0.5559 GB, free: 6.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1401, allocations: 0 / 0.5559 GB, free: 6.613 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000591/0.1407, allocations: 418.6 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1407, allocations: 16.02 kB / 0.5563 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.149e-05/0.1407, allocations: 192 / 0.5563 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1408, allocations: 42.69 kB / 0.5563 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.1408, allocations: 12.83 kB / 0.5563 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1411, allocations: 215.2 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1411, allocations: 8.125 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1412, allocations: 4 kB / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1413, allocations: 49.67 kB / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1413, allocations: 4 kB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1413, allocations: 4 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1413, allocations: 0 / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/0.1414, allocations: 27.92 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1418, allocations: 280.9 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.142, allocations: 58.67 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.142, allocations: 16.84 kB / 0.557 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1421, allocations: 8 kB / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.1422, allocations: 67.33 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1422, allocations: 0 / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.1428, allocations: 181.2 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1428, allocations: 59.39 kB / 0.5573 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.143, allocations: 194.3 kB / 0.5574 GB, free: 4.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.143, allocations: 29.7 kB / 0.5575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.1431, allocations: 104.1 kB / 0.5576 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1431, allocations: 27.83 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1432, allocations: 17.72 kB / 0.5576 GB, free: 4.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1433, allocations: 326.8 kB / 0.5579 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.094e-05/0.1434, allocations: 19.98 kB / 0.5579 GB, free: 4.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.1435, allocations: 33.7 kB / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1436, allocations: 69.64 kB / 0.558 GB, free: 4.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1436, allocations: 0 / 0.558 GB, free: 4.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1438, allocations: 93.59 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1438, allocations: 8 kB / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1438, allocations: 0 / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1438, allocations: 0 / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.1439, allocations: 23.92 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1439, allocations: 7.938 kB / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.1439, allocations: 0 / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.144, allocations: 8.031 kB / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001133/0.1441, allocations: 128 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1441, allocations: 20.08 kB / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.1441, allocations: 17.39 kB / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1441, allocations: 3.938 kB / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1441, allocations: 3.938 kB / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1442, allocations: 0 / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.1446, allocations: 399.3 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1446, allocations: 0 / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.1447, allocations: 15.92 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1447, allocations: 7.938 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1447, allocations: 384 / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1447, allocations: 0 / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1447, allocations: 4 kB / 0.5588 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.145, allocations: 208.5 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.145, allocations: 92.95 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.145, allocations: 4 kB / 0.559 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.1451, allocations: 7.984 kB / 0.5591 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.1452, allocations: 4 kB / 0.5591 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1452, allocations: 4 kB / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1453, allocations: 148.2 kB / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1453, allocations: 0 / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1456, allocations: 23.98 kB / 0.5592 GB, free: 2.805 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002171/0.1478, allocations: 1.097 MB / 0.5603 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.148, allocations: 55.91 kB / 0.5603 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.148, allocations: 0 / 0.5603 GB, free: 1.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.148, allocations: 27.94 kB / 0.5604 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1484, allocations: 31.84 kB / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1503, allocations: 1.673 MB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1507, allocations: 0.7002 MB / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.1507, allocations: 17.17 kB / 0.5627 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.1508, allocations: 39.36 kB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1508, allocations: 4 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1694, allocations: 3.511 MB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.651, allocations: 4.062 kB / 0.5662 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.72994467796525] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.832964683999307 8.859704025 8.715071283 Calling exit ...