Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001227/0.001227, allocations: 113 kB / 18.49 MB, free: 4.539 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.001438/0.001438, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.527/1.527, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2478/0.2478, allocations: 44.91 MB / 355.8 MB, free: 12.31 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.002076/0.002076, allocations: 71.89 kB / 0.4886 GB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1496, allocations: 65.42 MB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003119/0.1527, allocations: 1.733 MB / 0.5542 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1545, allocations: 1.034 MB / 0.5552 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.1546, allocations: 8 kB / 0.5552 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1549, allocations: 39.7 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1552, allocations: 91.61 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1554, allocations: 83.66 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1556, allocations: 99.69 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1557, allocations: 20.22 kB / 0.5556 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1558, allocations: 47.77 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.1559, allocations: 27.86 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1559, allocations: 4 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.156, allocations: 51.97 kB / 0.5557 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.156, allocations: 15.92 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1561, allocations: 39.67 kB / 0.5557 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1563, allocations: 115.5 kB / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1563, allocations: 0 / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1563, allocations: 4 kB / 0.5558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1563, allocations: 0 / 0.5558 GB, free: 6.609 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.0006153/0.1569, allocations: 414.7 kB / 0.5562 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.157, allocations: 12.02 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.441e-05/0.157, allocations: 8.188 kB / 0.5563 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.157, allocations: 30.75 kB / 0.5563 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1571, allocations: 12.84 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1574, allocations: 218.3 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1574, allocations: 4.125 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1575, allocations: 4 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1576, allocations: 53.67 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1576, allocations: 3.984 kB / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1576, allocations: 4 kB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1576, allocations: 4 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.1577, allocations: 19.98 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1581, allocations: 284.8 kB / 0.5569 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1583, allocations: 62.61 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.1584, allocations: 20.86 kB / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1584, allocations: 0 / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1586, allocations: 67.38 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1586, allocations: 0 / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.1591, allocations: 173.4 kB / 0.5572 GB, free: 5.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1592, allocations: 51.41 kB / 0.5572 GB, free: 5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1594, allocations: 189.6 kB / 0.5574 GB, free: 4.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1594, allocations: 29.7 kB / 0.5574 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.1595, allocations: 100.1 kB / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1595, allocations: 27.78 kB / 0.5576 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1596, allocations: 33.64 kB / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1597, allocations: 318.8 kB / 0.5579 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.1598, allocations: 27.92 kB / 0.5579 GB, free: 4.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.1599, allocations: 33.72 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.16, allocations: 57.7 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.16, allocations: 0 / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.1602, allocations: 105.6 kB / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1602, allocations: 8 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1602, allocations: 4.016 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1602, allocations: 0 / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.1603, allocations: 16 kB / 0.5581 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.1603, allocations: 11.86 kB / 0.5581 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.1604, allocations: 8.016 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1604, allocations: 4 kB / 0.5582 GB, free: 3.992 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.0001054/0.1605, allocations: 121.8 kB / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1605, allocations: 7.953 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.1606, allocations: 21.39 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1606, allocations: 0 / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1606, allocations: 3.938 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1606, allocations: 0 / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.1611, allocations: 399.7 kB / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1611, allocations: 0 / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.1611, allocations: 15.98 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1611, allocations: 3.938 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1612, allocations: 0 / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1612, allocations: 4 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1612, allocations: 0 / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1614, allocations: 208.3 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.1615, allocations: 92.95 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1616, allocations: 3.984 kB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.1616, allocations: 8 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1617, allocations: 0 / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1617, allocations: 7.984 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1619, allocations: 137.8 kB / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1619, allocations: 4 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1621, allocations: 27.92 kB / 0.5592 GB, free: 2.836 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.002421/0.1646, allocations: 1.089 MB / 0.5602 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1648, allocations: 55.91 kB / 0.5603 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1648, allocations: 0 / 0.5603 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.1649, allocations: 20.16 kB / 0.5603 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1653, allocations: 44.03 kB / 0.5604 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.1674, allocations: 1.645 MB / 0.562 GB, free: 48 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.1678, allocations: 0.7002 MB / 0.5626 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.1679, allocations: 20.88 kB / 0.5627 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.168, allocations: 35.42 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.168, allocations: 0 / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1882, allocations: 3.471 MB / 0.5661 GB, free: 11.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.576, allocations: 7.938 kB / 0.5661 GB, free: 11.87 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.7097514240304] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.758866213960573 8.789130126 8.62743981 Calling exit ...