Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 79.88 kB / 0.491 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.152, allocations: 66.04 MB / 0.5555 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003575/0.1556, allocations: 1.698 MB / 0.5572 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1574, allocations: 1.01 MB / 0.5582 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.1575, allocations: 4 kB / 0.5582 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1579, allocations: 87.69 kB / 0.5583 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.1582, allocations: 123.4 kB / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1584, allocations: 67.73 kB / 0.5584 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1587, allocations: 111.7 kB / 0.5586 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.1587, allocations: 8.219 kB / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1588, allocations: 51.78 kB / 0.5586 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.159, allocations: 59.75 kB / 0.5587 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.159, allocations: 4 kB / 0.5587 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1591, allocations: 35.98 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.1592, allocations: 23.91 kB / 0.5587 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.1593, allocations: 35.69 kB / 0.5588 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1595, allocations: 111.5 kB / 0.5589 GB, free: 2.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1596, allocations: 3.938 kB / 0.5589 GB, free: 2.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.676e-06/0.1596, allocations: 0 / 0.5589 GB, free: 2.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1596, allocations: 0 / 0.5589 GB, free: 2.008 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.0008857/0.1605, allocations: 426.7 kB / 0.5593 GB, free: 1.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.1605, allocations: 8.031 kB / 0.5593 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.1606, allocations: 34.75 kB / 0.5593 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.1606, allocations: 12.84 kB / 0.5593 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.1611, allocations: 212.1 kB / 0.5595 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1611, allocations: 4.375 kB / 0.5595 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1612, allocations: 8.312 kB / 0.5595 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1614, allocations: 53.8 kB / 0.5596 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1614, allocations: 0 / 0.5596 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1614, allocations: 0 / 0.5596 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1614, allocations: 4 kB / 0.5596 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.1615, allocations: 15.98 kB / 0.5596 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.1618, allocations: 181.7 kB / 0.5598 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1621, allocations: 54.55 kB / 0.5598 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.1622, allocations: 24.84 kB / 0.5599 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1622, allocations: 0 / 0.5599 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1624, allocations: 67.33 kB / 0.5599 GB, free: 0.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1624, allocations: 4 kB / 0.5599 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003962/0.1628, allocations: 101.5 kB / 0.56 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.1629, allocations: 59.28 kB / 0.5601 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1632, allocations: 228 kB / 0.5603 GB, free: 340 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1632, allocations: 25.7 kB / 0.5603 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1633, allocations: 104.1 kB / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.1633, allocations: 11.95 kB / 0.5604 GB, free: 188 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.1634, allocations: 17.72 kB / 0.5605 GB, free: 164 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.1636, allocations: 322.8 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.1637, allocations: 15.98 kB / 0.5608 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.1638, allocations: 37.7 kB / 0.5608 GB, free: 15.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1639, allocations: 37.72 kB / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1639, allocations: 0 / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001883/0.1641, allocations: 93.45 kB / 0.5609 GB, free: 15.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1641, allocations: 4 kB / 0.5609 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1641, allocations: 160 / 0.5609 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1641, allocations: 4 kB / 0.561 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.1642, allocations: 8 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1642, allocations: 8.016 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.1643, allocations: 11.88 kB / 0.561 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1643, allocations: 3.984 kB / 0.561 GB, free: 15.6 MB / 430.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.0001351/0.1644, allocations: 127.5 kB / 0.5611 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1644, allocations: 15.84 kB / 0.5611 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.1645, allocations: 20.98 kB / 0.5611 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1645, allocations: 3.984 kB / 0.5611 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1645, allocations: 0 / 0.5611 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1645, allocations: 0 / 0.5611 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1647, allocations: 189.6 kB / 0.5613 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1647, allocations: 7.938 kB / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.1647, allocations: 0 / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1647, allocations: 4 kB / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1647, allocations: 0 / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1647, allocations: 320 / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1647, allocations: 0 / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.165, allocations: 117 kB / 0.5614 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.165, allocations: 93 kB / 0.5615 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.165, allocations: 3.984 kB / 0.5615 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.1651, allocations: 4 kB / 0.5615 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1651, allocations: 3.938 kB / 0.5615 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1651, allocations: 8 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.1653, allocations: 165.2 kB / 0.5617 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 0 / 0.5617 GB, free: 14.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1655, allocations: 19.95 kB / 0.5617 GB, free: 14.73 MB / 430.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.001994/0.1675, allocations: 0.9503 MB / 0.5627 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1677, allocations: 39.92 kB / 0.5627 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1677, allocations: 0 / 0.5627 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.1677, allocations: 19.98 kB / 0.5627 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.168, allocations: 27.8 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1699, allocations: 1.573 MB / 0.5643 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1702, allocations: 0.7041 MB / 0.565 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.1703, allocations: 12.55 kB / 0.565 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.1703, allocations: 31.42 kB / 0.565 GB, free: 11.38 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1703, allocations: 7.938 kB / 0.565 GB, free: 11.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.1963, allocations: 3.276 MB / 0.5682 GB, free: 8.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.096, allocations: 9.641 kB / 0.5682 GB, free: 8.148 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.453448561020195]