Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.00126/0.00126, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001384/0.001384, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8783/0.8783, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2511/0.2511, allocations: 34.26 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.345e-05, allocations: 2.281 kB / 442.3 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.1663/0.1663, allocations: 1.783 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1675, allocations: 1.052 MB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.1676, allocations: 2.562 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1679, allocations: 302.2 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1682, allocations: 258.5 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.1684, allocations: 107.3 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1686, allocations: 271.5 kB / 446 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.1686, allocations: 4.75 kB / 446 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1687, allocations: 154.4 kB / 446.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1689, allocations: 202.2 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1689, allocations: 5.25 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.169, allocations: 47.08 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.1691, allocations: 141.8 kB / 446.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.1691, allocations: 74.92 kB / 446.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1693, allocations: 349.1 kB / 447 MB, free: 42.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1694, allocations: 0 / 447 MB, free: 42.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1694, allocations: 0 / 447 MB, free: 42.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1694, allocations: 3.938 kB / 447 MB, free: 42.72 MB / 410.7 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.0005446/0.1699, allocations: 0.6733 MB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1699, allocations: 10 kB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.477e-05/0.17, allocations: 37.52 kB / 447.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.17, allocations: 51.61 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.1704, allocations: 381.2 kB / 448.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1704, allocations: 3.656 kB / 448.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1704, allocations: 7 kB / 448.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1705, allocations: 90.89 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1705, allocations: 5.422 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1705, allocations: 0 / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1705, allocations: 2.438 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.1706, allocations: 32.97 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.1708, allocations: 326.1 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.171, allocations: 108.5 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.171, allocations: 38.5 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.171, allocations: 6.844 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.1711, allocations: 114.4 kB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1712, allocations: 0 / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002827/0.1714, allocations: 213.3 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.1715, allocations: 81.11 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.172, allocations: 1.028 MB / 450.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.172, allocations: 35.78 kB / 450.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.1721, allocations: 232.8 kB / 450.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1722, allocations: 33.02 kB / 450.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1722, allocations: 29.52 kB / 450.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.1722, allocations: 369 kB / 450.8 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.1723, allocations: 28.98 kB / 450.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.1723, allocations: 62.38 kB / 450.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/0.1724, allocations: 94.05 kB / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1724, allocations: 0 / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001475/0.1726, allocations: 184.2 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1726, allocations: 5.719 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1726, allocations: 0 / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1726, allocations: 2.844 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.1727, allocations: 24.06 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1727, allocations: 6.875 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.1727, allocations: 6 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1727, allocations: 8.641 kB / 451.2 MB, free: 40.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001056/0.1728, allocations: 223.1 kB / 451.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1729, allocations: 61.72 kB / 451.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1731, allocations: 204.4 kB / 451.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1731, allocations: 2.938 kB / 451.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1731, allocations: 0 / 451.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1731, allocations: 0 / 451.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1732, allocations: 290.3 kB / 452 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1732, allocations: 2.719 kB / 452 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.1733, allocations: 11.98 kB / 452 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1733, allocations: 4.969 kB / 452 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1733, allocations: 2.844 kB / 452 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1733, allocations: 0 / 452 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1733, allocations: 2.906 kB / 452 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1734, allocations: 222.2 kB / 452.2 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1735, allocations: 71.3 kB / 452.3 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1735, allocations: 7.75 kB / 452.3 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.1735, allocations: 10.12 kB / 452.3 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1736, allocations: 13.22 kB / 452.3 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1736, allocations: 3.031 kB / 452.4 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004014/0.174, allocations: 0.7699 MB / 453.1 MB, free: 39.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.174, allocations: 2.062 kB / 453.1 MB, free: 39.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.1742, allocations: 49.27 kB / 453.2 MB, free: 39.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008703/0.175, allocations: 1.094 MB / 454.3 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1752, allocations: 89.25 kB / 454.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1752, allocations: 6.469 kB / 454.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.1752, allocations: 43.89 kB / 454.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1755, allocations: 69.38 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.1785, allocations: 4.544 MB / 459 MB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1786, allocations: 237.9 kB / 459.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.1786, allocations: 56.08 kB / 459.3 MB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1787, allocations: 153 kB / 459.4 MB, free: 36.06 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1787, allocations: 0 / 459.4 MB, free: 36.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1968, allocations: 9.965 MB / 469.4 MB, free: 34.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.013, allocations: 6.812 kB / 469.4 MB, free: 34.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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: 8.979057780466974]