Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001839/0.001839, allocations: 120.1 kB / 18.49 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.00239/0.00239, allocations: 215 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.53/1.53, allocations: 230.6 MB / 254.8 MB, free: 15.27 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.2346/0.2346, allocations: 44.9 MB / 355.8 MB, free: 12.36 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001981/0.001981, allocations: 73.92 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1568, allocations: 65.41 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003313/0.1602, allocations: 1.69 MB / 0.5542 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.162, allocations: 1.011 MB / 0.5551 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.1621, allocations: 3.938 kB / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.1625, allocations: 55.8 kB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1628, allocations: 111.5 kB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.163, allocations: 75.72 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1632, allocations: 103.6 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.1633, allocations: 8.219 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1634, allocations: 47.78 kB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1635, allocations: 59.75 kB / 0.5556 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1635, allocations: 8 kB / 0.5556 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.1636, allocations: 35.92 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.1637, allocations: 19.92 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1637, allocations: 27.8 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.164, allocations: 107.8 kB / 0.5558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.164, allocations: 0 / 0.5558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.164, allocations: 0 / 0.5558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.164, allocations: 3.938 kB / 0.5558 GB, free: 6.691 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000661/0.1646, allocations: 406.8 kB / 0.5562 GB, free: 6.246 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1647, allocations: 12.03 kB / 0.5562 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.343e-05/0.1647, allocations: 8.125 kB / 0.5562 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1647, allocations: 34.73 kB / 0.5562 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1648, allocations: 12.84 kB / 0.5562 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1651, allocations: 211.2 kB / 0.5564 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1651, allocations: 12.12 kB / 0.5565 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1652, allocations: 7.938 kB / 0.5565 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1653, allocations: 45.67 kB / 0.5565 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1653, allocations: 4 kB / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1653, allocations: 0 / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1654, allocations: 0 / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.1654, allocations: 23.92 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.1657, allocations: 185.6 kB / 0.5567 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1659, allocations: 50.56 kB / 0.5568 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.1659, allocations: 20.84 kB / 0.5568 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.166, allocations: 4 kB / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.1662, allocations: 63.39 kB / 0.5568 GB, free: 5.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1662, allocations: 0 / 0.5568 GB, free: 5.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003143/0.1665, allocations: 97.56 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1665, allocations: 51.41 kB / 0.557 GB, free: 5.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1667, allocations: 202.2 kB / 0.5572 GB, free: 5.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1668, allocations: 33.7 kB / 0.5572 GB, free: 5.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.1668, allocations: 104.1 kB / 0.5573 GB, free: 4.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1669, allocations: 7.906 kB / 0.5573 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1669, allocations: 25.7 kB / 0.5573 GB, free: 4.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1671, allocations: 322.8 kB / 0.5576 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.1671, allocations: 12 kB / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.1672, allocations: 33.69 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1673, allocations: 53.58 kB / 0.5577 GB, free: 4.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1673, allocations: 0 / 0.5577 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.1675, allocations: 85.53 kB / 0.5578 GB, free: 4.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1675, allocations: 4 kB / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1675, allocations: 0 / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1675, allocations: 4 kB / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.1676, allocations: 8 kB / 0.5578 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1676, allocations: 8.125 kB / 0.5578 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1676, allocations: 8.344 kB / 0.5579 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1676, allocations: 4 kB / 0.5579 GB, free: 4.328 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 (7): * Single equations (assignments): 7 * 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.0001241/0.1678, allocations: 124 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1678, allocations: 11.95 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.1678, allocations: 16.98 kB / 0.558 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1679, allocations: 4 kB / 0.558 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1679, allocations: 0 / 0.558 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1679, allocations: 0 / 0.558 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.168, allocations: 193.5 kB / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1681, allocations: 4 kB / 0.5582 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.1681, allocations: 7.938 kB / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1681, allocations: 0 / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1681, allocations: 3.938 kB / 0.5582 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1681, allocations: 4 kB / 0.5582 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1681, allocations: 0 / 0.5582 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1683, allocations: 109 kB / 0.5583 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.1684, allocations: 89 kB / 0.5584 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1684, allocations: 4 kB / 0.5584 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.1684, allocations: 3.984 kB / 0.5584 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1685, allocations: 4 kB / 0.5584 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1685, allocations: 3.938 kB / 0.5584 GB, free: 3.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1686, allocations: 148.2 kB / 0.5586 GB, free: 3.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1686, allocations: 0 / 0.5586 GB, free: 3.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1688, allocations: 20 kB / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001947/0.1708, allocations: 0.9511 MB / 0.5595 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.171, allocations: 43.91 kB / 0.5595 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.171, allocations: 0 / 0.5595 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.171, allocations: 16 kB / 0.5596 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1713, allocations: 38.39 kB / 0.5596 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1732, allocations: 1.517 MB / 0.5611 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1736, allocations: 0.6963 MB / 0.5618 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.47e-05/0.1736, allocations: 12.55 kB / 0.5618 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.1737, allocations: 31.42 kB / 0.5618 GB, free: 220 kB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1737, allocations: 4 kB / 0.5618 GB, free: 216 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1929, allocations: 3.214 MB / 0.5649 GB, free: 13.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.465, allocations: 12 kB / 0.565 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.702099928981625] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.646465885976795 8.662989437 8.495638619 Calling exit ...