Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001727/0.001727, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.0021/0.0021, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.604/1.604, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2371/0.2371, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.002038/0.002038, allocations: 71.89 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.126, allocations: 65.41 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003187/0.1292, allocations: 1.83 MB / 0.5543 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1312, allocations: 1.105 MB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.1312, allocations: 7.938 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.1318, allocations: 307.3 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.1323, allocations: 267.2 kB / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1325, allocations: 107.6 kB / 0.556 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.1328, allocations: 259.2 kB / 0.5563 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.1329, allocations: 13.69 kB / 0.5563 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.133, allocations: 139.5 kB / 0.5564 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.1333, allocations: 219.5 kB / 0.5566 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1333, allocations: 8 kB / 0.5566 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1334, allocations: 39.98 kB / 0.5567 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1336, allocations: 139.5 kB / 0.5568 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1337, allocations: 146.8 kB / 0.5569 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.1342, allocations: 386.5 kB / 0.5573 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1342, allocations: 4 kB / 0.5573 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1342, allocations: 3.938 kB / 0.5573 GB, free: 5.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1342, allocations: 0 / 0.5573 GB, free: 5.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001048/0.1352, allocations: 0.7749 MB / 0.5581 GB, free: 4.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1353, allocations: 8.031 kB / 0.5581 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.93e-05/0.1353, allocations: 4.188 kB / 0.5581 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.1353, allocations: 30.75 kB / 0.5581 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.1354, allocations: 52.61 kB / 0.5582 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.136, allocations: 460.4 kB / 0.5586 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1361, allocations: 8.109 kB / 0.5586 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1361, allocations: 4 kB / 0.5586 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1363, allocations: 83.31 kB / 0.5587 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1363, allocations: 0 / 0.5587 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1363, allocations: 7.969 kB / 0.5587 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1363, allocations: 4 kB / 0.5587 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1364, allocations: 31.98 kB / 0.5587 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.1368, allocations: 386.3 kB / 0.5591 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1371, allocations: 101.1 kB / 0.5592 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1372, allocations: 41.7 kB / 0.5592 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1373, allocations: 0 / 0.5592 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1375, allocations: 109 kB / 0.5593 GB, free: 2.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1375, allocations: 0 / 0.5593 GB, free: 2.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005052/0.138, allocations: 209.2 kB / 0.5595 GB, free: 2.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.138, allocations: 77.11 kB / 0.5596 GB, free: 2.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.1392, allocations: 1.05 MB / 0.5606 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1392, allocations: 25.7 kB / 0.5607 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1394, allocations: 240.1 kB / 0.5609 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.1395, allocations: 35.72 kB / 0.5609 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1395, allocations: 29.7 kB / 0.561 GB, free: 1.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1397, allocations: 374.8 kB / 0.5613 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.1398, allocations: 27.98 kB / 0.5613 GB, free: 0.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1399, allocations: 51.42 kB / 0.5614 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1401, allocations: 95.28 kB / 0.5615 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1401, allocations: 4 kB / 0.5615 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003182/0.1404, allocations: 169.2 kB / 0.5617 GB, free: 372 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1404, allocations: 7.938 kB / 0.5617 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1404, allocations: 7.984 kB / 0.5617 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1404, allocations: 3.938 kB / 0.5617 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1405, allocations: 24.62 kB / 0.5617 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1406, allocations: 0 / 0.5617 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.1406, allocations: 12.05 kB / 0.5617 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1407, allocations: 4 kB / 0.5617 GB, free: 312 kB / 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002435/0.1409, allocations: 231.8 kB / 0.5619 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.141, allocations: 55.62 kB / 0.562 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1411, allocations: 64.22 kB / 0.562 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1411, allocations: 0 / 0.562 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1411, allocations: 0 / 0.562 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1411, allocations: 0 / 0.562 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.1414, allocations: 353.3 kB / 0.5624 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1414, allocations: 0 / 0.5624 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.1415, allocations: 11.98 kB / 0.5624 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1415, allocations: 4 kB / 0.5624 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1415, allocations: 0 / 0.5624 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1415, allocations: 4 kB / 0.5624 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1415, allocations: 0 / 0.5624 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.1418, allocations: 213.4 kB / 0.5626 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.142, allocations: 140.8 kB / 0.5627 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.142, allocations: 4 kB / 0.5627 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.1421, allocations: 0 / 0.5627 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1422, allocations: 15.98 kB / 0.5628 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1422, allocations: 4 kB / 0.5628 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008498/0.143, allocations: 0.7838 MB / 0.5635 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.143, allocations: 0 / 0.5635 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1433, allocations: 43.98 kB / 0.5636 GB, free: 14.3 MB / 430.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002149/0.1455, allocations: 1.067 MB / 0.5646 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.1457, allocations: 75.89 kB / 0.5647 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1457, allocations: 0 / 0.5647 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1458, allocations: 40.05 kB / 0.5647 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.1463, allocations: 69.08 kB / 0.5648 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/0.1524, allocations: 4.574 MB / 0.5693 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.1529, allocations: 0.8427 MB / 0.5701 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.1531, allocations: 63.44 kB / 0.5701 GB, free: 7.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.1533, allocations: 155.4 kB / 0.5703 GB, free: 7.426 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1533, allocations: 0 / 0.5703 GB, free: 7.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.1803, allocations: 9.19 MB / 0.5793 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.023/9.203, allocations: 4.062 kB / 0.5793 GB, free: 14.31 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.524087090976536] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.38486659899354 9.409300389 9.270663188 Calling exit ...