Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001282/0.001282, allocations: 122.2 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.001404/0.001404, allocations: 215.1 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.538/1.538, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2411/0.2411, allocations: 44.91 MB / 355.8 MB, free: 12.34 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.002122/0.002122, allocations: 71.89 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1532, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004462/0.1577, allocations: 1.75 MB / 0.5542 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1601, allocations: 1.037 MB / 0.5553 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1602, allocations: 7.938 kB / 0.5553 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.1607, allocations: 91.67 kB / 0.5554 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1611, allocations: 119.5 kB / 0.5555 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1614, allocations: 79.72 kB / 0.5555 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.1617, allocations: 123.6 kB / 0.5557 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1618, allocations: 16.27 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.162, allocations: 59.75 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1621, allocations: 79.73 kB / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1621, allocations: 4 kB / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1623, allocations: 55.98 kB / 0.5559 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.1624, allocations: 31.84 kB / 0.5559 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.1625, allocations: 43.67 kB / 0.5559 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1628, allocations: 139.4 kB / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1628, allocations: 0 / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1628, allocations: 3.938 kB / 0.5561 GB, free: 6.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.1628, allocations: 0 / 0.5561 GB, free: 6.414 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007521/0.1635, allocations: 450.4 kB / 0.5565 GB, free: 5.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1636, allocations: 8.031 kB / 0.5565 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.789e-05/0.1636, allocations: 4.188 kB / 0.5565 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.1637, allocations: 42.67 kB / 0.5566 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1637, allocations: 16.84 kB / 0.5566 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.1641, allocations: 212.9 kB / 0.5568 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1641, allocations: 8.125 kB / 0.5568 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1642, allocations: 4 kB / 0.5568 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1644, allocations: 65.66 kB / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1644, allocations: 0 / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1644, allocations: 0 / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1644, allocations: 0 / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.1645, allocations: 39.89 kB / 0.5569 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.165, allocations: 296.8 kB / 0.5572 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.1653, allocations: 54.55 kB / 0.5572 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.1654, allocations: 24.98 kB / 0.5572 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1654, allocations: 0 / 0.5572 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1656, allocations: 75.31 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1656, allocations: 0 / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00088/0.1665, allocations: 249.2 kB / 0.5576 GB, free: 4.711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.1666, allocations: 55.41 kB / 0.5576 GB, free: 4.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.1668, allocations: 234.1 kB / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1669, allocations: 33.69 kB / 0.5579 GB, free: 4.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.1669, allocations: 112.1 kB / 0.558 GB, free: 4.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.167, allocations: 31.75 kB / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.167, allocations: 29.7 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1672, allocations: 322.8 kB / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.1673, allocations: 35.92 kB / 0.5584 GB, free: 3.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.1674, allocations: 45.7 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1675, allocations: 85.69 kB / 0.5585 GB, free: 3.688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1675, allocations: 0 / 0.5585 GB, free: 3.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.1678, allocations: 125.5 kB / 0.5586 GB, free: 3.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1678, allocations: 8 kB / 0.5586 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1678, allocations: 0 / 0.5586 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1678, allocations: 3.938 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.1679, allocations: 28.02 kB / 0.5587 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1679, allocations: 4 kB / 0.5587 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.168, allocations: 0 / 0.5587 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.168, allocations: 8.641 kB / 0.5587 GB, free: 3.508 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 (13): * Single equations (assignments): 13 * 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.000151/0.1681, allocations: 136 kB / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.1681, allocations: 19.84 kB / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.1682, allocations: 25.39 kB / 0.5588 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1682, allocations: 3.938 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1682, allocations: 4 kB / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1682, allocations: 0 / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.1689, allocations: 460 kB / 0.5593 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1689, allocations: 0 / 0.5593 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1689, allocations: 12 kB / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1689, allocations: 4 kB / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1689, allocations: 0 / 0.5593 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.169, allocations: 7.984 kB / 0.5593 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.169, allocations: 4.062 kB / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1693, allocations: 233 kB / 0.5595 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.1693, allocations: 93.02 kB / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1694, allocations: 11.92 kB / 0.5596 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1695, allocations: 0 / 0.5596 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1695, allocations: 16 kB / 0.5596 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1695, allocations: 7.984 kB / 0.5597 GB, free: 2.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1697, allocations: 168.4 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1697, allocations: 0 / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.17, allocations: 31.92 kB / 0.5598 GB, free: 2.18 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 (11): * Single equations (assignments): 9 * 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.002748/0.1728, allocations: 1.18 MB / 0.561 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.173, allocations: 67.91 kB / 0.5611 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.173, allocations: 0 / 0.5611 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.1731, allocations: 39.92 kB / 0.5611 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1735, allocations: 37.22 kB / 0.5611 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.1759, allocations: 1.872 MB / 0.563 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1764, allocations: 0.7236 MB / 0.5637 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.253e-05/0.1764, allocations: 16.64 kB / 0.5637 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1766, allocations: 47.41 kB / 0.5637 GB, free: 14.26 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1766, allocations: 0 / 0.5637 GB, free: 14.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.199, allocations: 4.021 MB / 0.5677 GB, free: 10.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.526, allocations: 16 kB / 0.5677 GB, free: 10.3 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.79083970800275]