Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001287/0.001287, allocations: 121 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.001386/0.001386, 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.522/1.522, 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.2367/0.2367, allocations: 44.91 MB / 355.8 MB, free: 12.4 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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.002027/0.002027, allocations: 70.22 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1549, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004273/0.1592, allocations: 1.735 MB / 0.5542 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1621, allocations: 1.641 MB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1622, allocations: 4 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.1625, allocations: 35.77 kB / 0.5559 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.1629, allocations: 107.5 kB / 0.556 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1631, allocations: 75.69 kB / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1633, allocations: 107.7 kB / 0.5561 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1635, allocations: 16.27 kB / 0.5562 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1636, allocations: 47.73 kB / 0.5562 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1638, allocations: 39.83 kB / 0.5562 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1638, allocations: 8 kB / 0.5562 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.164, allocations: 107.9 kB / 0.5563 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.1641, allocations: 23.92 kB / 0.5564 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.1641, allocations: 39.72 kB / 0.5564 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1644, allocations: 171.4 kB / 0.5566 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1644, allocations: 4 kB / 0.5566 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1644, allocations: 0 / 0.5566 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1645, allocations: 0 / 0.5566 GB, free: 5.895 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.0006747/0.1651, allocations: 430.5 kB / 0.557 GB, free: 5.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1652, allocations: 8.031 kB / 0.557 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.1652, allocations: 192 / 0.557 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.1652, allocations: 38.73 kB / 0.557 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1653, allocations: 16.84 kB / 0.557 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1656, allocations: 216.2 kB / 0.5573 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1656, allocations: 4 kB / 0.5573 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1656, allocations: 0 / 0.5573 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1658, allocations: 75.27 kB / 0.5573 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1658, allocations: 0 / 0.5573 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1659, allocations: 4 kB / 0.5573 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1659, allocations: 8 kB / 0.5573 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.1659, allocations: 15.98 kB / 0.5574 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.1663, allocations: 292.9 kB / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1665, allocations: 54.62 kB / 0.5577 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.1666, allocations: 20.84 kB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1666, allocations: 0 / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1668, allocations: 67.39 kB / 0.5578 GB, free: 4.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1668, allocations: 4 kB / 0.5578 GB, free: 4.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.1674, allocations: 173.3 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1674, allocations: 81.11 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1676, allocations: 161.3 kB / 0.5582 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1676, allocations: 29.7 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1677, allocations: 96.12 kB / 0.5583 GB, free: 3.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1677, allocations: 31.75 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.1678, allocations: 29.7 kB / 0.5584 GB, free: 3.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1679, allocations: 326.8 kB / 0.5587 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.168, allocations: 16 kB / 0.5587 GB, free: 3.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.1681, allocations: 46.5 kB / 0.5587 GB, free: 3.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1682, allocations: 61.73 kB / 0.5588 GB, free: 3.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1682, allocations: 0 / 0.5588 GB, free: 3.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.1684, allocations: 105.5 kB / 0.5589 GB, free: 3.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1684, allocations: 8 kB / 0.5589 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1684, allocations: 0 / 0.5589 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1685, allocations: 3.938 kB / 0.5589 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.1685, allocations: 12 kB / 0.5589 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1686, allocations: 4 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.1686, allocations: 3.984 kB / 0.5589 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1686, allocations: 8.031 kB / 0.5589 GB, free: 3.23 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.0001168/0.1687, allocations: 130.2 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1688, allocations: 11.95 kB / 0.5591 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1688, allocations: 20.69 kB / 0.5591 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1688, allocations: 3.938 kB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1688, allocations: 0 / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1688, allocations: 192 / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.1693, allocations: 403.2 kB / 0.5595 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1693, allocations: 8.312 kB / 0.5595 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.1694, allocations: 4 kB / 0.5595 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1694, allocations: 8 kB / 0.5595 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1694, allocations: 3.984 kB / 0.5595 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1694, allocations: 240 / 0.5595 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1694, allocations: 4 kB / 0.5595 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1697, allocations: 212.2 kB / 0.5597 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1697, allocations: 81.06 kB / 0.5598 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1697, allocations: 8 kB / 0.5598 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1698, allocations: 3.984 kB / 0.5598 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.1699, allocations: 4 kB / 0.5598 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1699, allocations: 4 kB / 0.5598 GB, free: 2.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.17, allocations: 126.7 kB / 0.5599 GB, free: 2.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.17, allocations: 0 / 0.5599 GB, free: 2.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.1703, allocations: 51.86 kB / 0.56 GB, free: 2.066 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.002498/0.1728, allocations: 1.196 MB / 0.5611 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.173, allocations: 47.98 kB / 0.5612 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.173, allocations: 0 / 0.5612 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.1731, allocations: 31.92 kB / 0.5612 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1735, allocations: 34.11 kB / 0.5612 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1754, allocations: 1.596 MB / 0.5628 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1757, allocations: 0.6963 MB / 0.5635 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.1758, allocations: 21.17 kB / 0.5635 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.1759, allocations: 39.41 kB / 0.5635 GB, free: 14.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1759, allocations: 0 / 0.5635 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1991, allocations: 4.082 MB / 0.5675 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.556, allocations: 8 kB / 0.5675 GB, free: 10.4 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.669410104979761] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.736585275968537 8.755145223 8.587583498 Calling exit ...