Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001242/0.001242, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001944/0.001944, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.645/1.645, 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.2243/0.2243, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001989/0.001989, allocations: 70.09 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1455, allocations: 65.43 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003405/0.1489, allocations: 1.753 MB / 0.5543 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1507, allocations: 1.033 MB / 0.5553 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1508, allocations: 0 / 0.5553 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1511, allocations: 107.7 kB / 0.5554 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.1514, allocations: 135.5 kB / 0.5555 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1516, allocations: 75.73 kB / 0.5556 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1519, allocations: 131.6 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.152, allocations: 16.25 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1521, allocations: 59.77 kB / 0.5558 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1522, allocations: 75.72 kB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1522, allocations: 12 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1523, allocations: 63.97 kB / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.1524, allocations: 27.86 kB / 0.5559 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.1525, allocations: 55.55 kB / 0.556 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1527, allocations: 155.3 kB / 0.5561 GB, free: 6.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1527, allocations: 0 / 0.5561 GB, free: 6.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1527, allocations: 0 / 0.5561 GB, free: 6.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1527, allocations: 0 / 0.5561 GB, free: 6.348 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006144/0.1533, allocations: 466.3 kB / 0.5566 GB, free: 5.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1534, allocations: 16.03 kB / 0.5566 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.13e-05/0.1534, allocations: 4.125 kB / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.1534, allocations: 34.75 kB / 0.5566 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1535, allocations: 16.84 kB / 0.5567 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1538, allocations: 225.1 kB / 0.5569 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1538, allocations: 8.125 kB / 0.5569 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1539, allocations: 0 / 0.5569 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.154, allocations: 73.59 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.154, allocations: 0 / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1541, allocations: 4 kB / 0.5569 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1541, allocations: 0 / 0.5569 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.1542, allocations: 35.97 kB / 0.557 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.1546, allocations: 316.7 kB / 0.5573 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1549, allocations: 74.58 kB / 0.5574 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.395e-05/0.1549, allocations: 28.84 kB / 0.5574 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.155, allocations: 0 / 0.5574 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1551, allocations: 83.52 kB / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1551, allocations: 0 / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008272/0.156, allocations: 277 kB / 0.5577 GB, free: 4.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.156, allocations: 59.34 kB / 0.5578 GB, free: 4.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1563, allocations: 263.7 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1563, allocations: 29.7 kB / 0.5581 GB, free: 4.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.1564, allocations: 116.1 kB / 0.5582 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.1565, allocations: 35.69 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1565, allocations: 33.7 kB / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1567, allocations: 326.8 kB / 0.5586 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.1568, allocations: 31.98 kB / 0.5586 GB, free: 3.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1569, allocations: 53.69 kB / 0.5586 GB, free: 3.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.157, allocations: 85.7 kB / 0.5587 GB, free: 3.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.157, allocations: 0 / 0.5587 GB, free: 3.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000261/0.1573, allocations: 153.4 kB / 0.5589 GB, free: 3.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1573, allocations: 4 kB / 0.5589 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1573, allocations: 0 / 0.5589 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1573, allocations: 7.938 kB / 0.5589 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.1574, allocations: 23.92 kB / 0.5589 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1574, allocations: 8.031 kB / 0.5589 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1575, allocations: 7.953 kB / 0.5589 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1575, allocations: 4 kB / 0.5589 GB, free: 3.25 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 (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.0001307/0.1576, allocations: 141.3 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1576, allocations: 15.91 kB / 0.5591 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.1577, allocations: 25.39 kB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1577, allocations: 3.938 kB / 0.5591 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1577, allocations: 0 / 0.5591 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1577, allocations: 4 kB / 0.5591 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.1583, allocations: 472 kB / 0.5595 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1583, allocations: 4 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.1584, allocations: 15.98 kB / 0.5596 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1584, allocations: 0 / 0.5596 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1584, allocations: 8 kB / 0.5596 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1584, allocations: 7.875 kB / 0.5596 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1584, allocations: 0 / 0.5596 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.1587, allocations: 253.1 kB / 0.5598 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.1588, allocations: 89.02 kB / 0.5599 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1588, allocations: 8 kB / 0.5599 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1589, allocations: 7.984 kB / 0.5599 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1589, allocations: 4 kB / 0.5599 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1589, allocations: 15.98 kB / 0.5599 GB, free: 2.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.1591, allocations: 193.5 kB / 0.5601 GB, free: 1.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1591, allocations: 3.938 kB / 0.5601 GB, free: 1.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1594, allocations: 31.94 kB / 0.5602 GB, free: 1.863 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002395/0.1618, allocations: 1.2 MB / 0.5613 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.162, allocations: 83.84 kB / 0.5614 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.162, allocations: 0 / 0.5614 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.1621, allocations: 43.92 kB / 0.5615 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1625, allocations: 36.05 kB / 0.5615 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1649, allocations: 1.954 MB / 0.5634 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1653, allocations: 0.724 MB / 0.5641 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1654, allocations: 21.06 kB / 0.5641 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.1655, allocations: 51.42 kB / 0.5642 GB, free: 13.81 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1655, allocations: 0 / 0.5642 GB, free: 13.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.185, allocations: 4.268 MB / 0.5683 GB, free: 9.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/8.562, allocations: 8.875 kB / 0.5683 GB, free: 9.613 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.875367739005014] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 8.744033346010838 8.762059608 8.605992186 Calling exit ...