Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001032/0.001032, allocations: 83.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.0009447/0.0009447, 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.902/0.902, allocations: 177.2 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2474/0.2474, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.818e-05, allocations: 2.844 kB / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.0021/0.002118, allocations: 1.717 MB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003232, allocations: 0.9664 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.003308, allocations: 3.938 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.003561, allocations: 35.83 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.00385, allocations: 103.4 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.00403, allocations: 79.66 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004187, allocations: 107.6 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.004274, allocations: 11.92 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.004356, allocations: 51.89 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.00442, allocations: 23.91 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004435, allocations: 4 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.004517, allocations: 51.84 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.004571, allocations: 23.86 kB / 442.8 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.004605, allocations: 15.94 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.004768, allocations: 119.6 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00477, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004771, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004775, allocations: 0 / 443 MB, free: 0.8203 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004104/0.005185, allocations: 357.4 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005221, allocations: 8.031 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.005249, allocations: 38.67 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.00528, allocations: 12.89 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.005461, allocations: 146.3 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.005473, allocations: 4.375 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.005489, allocations: 4.375 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.005601, allocations: 65.92 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.005611, allocations: 3.984 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005619, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005623, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.005674, allocations: 23.98 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1741/0.1798, allocations: 251.5 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.18, allocations: 57.03 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.18, allocations: 20.62 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.18, allocations: 1.906 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.1802, allocations: 73.61 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/0.1802, allocations: 0 / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004319/0.1806, allocations: 189 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1806, allocations: 55.25 kB / 444.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1808, allocations: 205.9 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.1808, allocations: 25.7 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1808, allocations: 104.1 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1808, allocations: 28.34 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.1809, allocations: 22.19 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.1809, allocations: 327 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.1809, allocations: 22.52 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.181, allocations: 36.7 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.181, allocations: 63.19 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.181, allocations: 0 / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001112/0.1812, allocations: 113.4 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1812, allocations: 7.5 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1812, allocations: 1.594 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1812, allocations: 0 / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.1813, allocations: 16.75 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1813, allocations: 3.203 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.1813, allocations: 6.375 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1813, allocations: 9.516 kB / 445.2 MB, free: 45.55 MB / 410.7 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 5.756e-05/0.1814, allocations: 123.4 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1814, allocations: 13.39 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1815, allocations: 125.4 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1815, allocations: 3.062 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1815, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1815, allocations: 3.234 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1818, allocations: 374.6 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1818, allocations: 2.625 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.1818, allocations: 11.81 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1818, allocations: 2.75 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1818, allocations: 6.094 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1818, allocations: 4.125 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1818, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1819, allocations: 215.9 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.182, allocations: 10.62 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.182, allocations: 6.5 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.182, allocations: 6.109 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.182, allocations: 2.594 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1821, allocations: 5.875 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.1821, allocations: 153.1 kB / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1821, allocations: 0 / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000172/0.1823, allocations: 28.52 kB / 446.3 MB, free: 44.84 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: 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 (9): * Single equations (assignments): 7 * 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.0008981/0.1832, allocations: 1.148 MB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.1833, allocations: 65.47 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1833, allocations: 0 / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.1833, allocations: 27.56 kB / 447.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1836, allocations: 28.88 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009609/0.1845, allocations: 1.676 MB / 449.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.1846, allocations: 91.25 kB / 449.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.1846, allocations: 21.55 kB / 449.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1847, allocations: 33.42 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1847, allocations: 2.719 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1996, allocations: 4.295 MB / 453.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/6.895, allocations: 2.844 kB / 453.7 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.85588990431279]