Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.0008338/0.0008338, allocations: 79.7 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.0007953/0.0007953, allocations: 174 kB / 23.95 MB, free: 0.6094 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.898/0.898, 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.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.2257/0.2257, 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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.94e-05, allocations: 2.281 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002461/0.00248, allocations: 2.177 MB / 441.9 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003923, allocations: 1.267 MB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.004041, allocations: 7.938 kB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.004355, allocations: 119.3 kB / 443.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.004744, allocations: 254.7 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.005019, allocations: 191.4 kB / 443.7 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1643/0.1693, allocations: 468.5 kB / 444.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1695, allocations: 46.97 kB / 444.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.1699, allocations: 351.3 kB / 444.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.17, allocations: 135.5 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.17, allocations: 20.16 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.1702, allocations: 69.16 kB / 444.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.1703, allocations: 134.5 kB / 444.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.1704, allocations: 102.2 kB / 445 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1707, allocations: 425.2 kB / 445.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1707, allocations: 2.5 kB / 445.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1707, allocations: 0 / 445.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1707, allocations: 2.031 kB / 445.4 MB, free: 43.23 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006724/0.1714, allocations: 0.7599 MB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1714, allocations: 8.906 kB / 446.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.1715, allocations: 48.78 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.1715, allocations: 65.55 kB / 446.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1719, allocations: 347.2 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1719, allocations: 11.97 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1719, allocations: 15.53 kB / 446.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1722, allocations: 202.9 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1722, allocations: 6.984 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1722, allocations: 9.844 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1722, allocations: 4.312 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1723, allocations: 98.08 kB / 447 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.1729, allocations: 0.7534 MB / 447.7 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.1733, allocations: 245.7 kB / 448 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.1734, allocations: 96.22 kB / 448.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1734, allocations: 12.19 kB / 448.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.1736, allocations: 201.9 kB / 448.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.1736, allocations: 2.938 kB / 448.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001273/0.1749, allocations: 1.164 MB / 449.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1749, allocations: 137.2 kB / 449.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.1754, allocations: 0.8104 MB / 450.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1754, allocations: 39.48 kB / 450.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.1755, allocations: 253.7 kB / 450.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.1755, allocations: 143.7 kB / 450.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1756, allocations: 80 kB / 450.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.1756, allocations: 378.6 kB / 451.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1758, allocations: 125.3 kB / 451.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1759, allocations: 188.4 kB / 451.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1762, allocations: 329.2 kB / 451.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1762, allocations: 0 / 451.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003882/0.1766, allocations: 449.5 kB / 452.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1766, allocations: 9.062 kB / 452.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1766, allocations: 3.094 kB / 452.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1766, allocations: 3.219 kB / 452.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1768, allocations: 93.86 kB / 452.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1768, allocations: 3.125 kB / 452.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.1768, allocations: 13.59 kB / 452.4 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.1769, allocations: 28.33 kB / 452.5 MB, free: 39.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001283/0.177, allocations: 245.6 kB / 452.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.177, allocations: 63.98 kB / 452.8 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.1776, allocations: 0.5292 MB / 453.3 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1776, allocations: 10.47 kB / 453.3 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1776, allocations: 4 kB / 453.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1776, allocations: 3.188 kB / 453.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.1784, allocations: 1.279 MB / 454.6 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1784, allocations: 3.219 kB / 454.6 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.1785, allocations: 68.45 kB / 454.7 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1785, allocations: 10.56 kB / 454.7 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1785, allocations: 17.73 kB / 454.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1785, allocations: 6.5 kB / 454.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1785, allocations: 6.438 kB / 454.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.179, allocations: 0.8199 MB / 455.5 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.1791, allocations: 98.47 kB / 455.6 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.1791, allocations: 20.44 kB / 455.6 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1792, allocations: 21.22 kB / 455.7 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1793, allocations: 44 kB / 455.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1793, allocations: 26.48 kB / 455.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.1796, allocations: 0.5925 MB / 456.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1796, allocations: 3.281 kB / 456.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000326/0.18, allocations: 92.28 kB / 456.4 MB, free: 37.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001314/0.1813, allocations: 1.838 MB / 458.3 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.1817, allocations: 315 kB / 458.6 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1817, allocations: 4 kB / 458.6 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1818, allocations: 156.9 kB / 458.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.1824, allocations: 132.2 kB / 458.8 MB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.1858, allocations: 4.818 MB / 463.7 MB, free: 33.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.186, allocations: 300.1 kB / 464 MB, free: 33.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1861, allocations: 81.45 kB / 464 MB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.1863, allocations: 198 kB / 464.2 MB, free: 33.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1863, allocations: 3.938 kB / 464.2 MB, free: 33.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.2082, allocations: 12.07 MB / 476.3 MB, free: 30.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/7.002, allocations: 5.969 kB / 476.3 MB, free: 30.97 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.951162132434547]