Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.0008117/0.0008117, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008349/0.0008349, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8673/0.8673, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2391/0.2391, allocations: 34.25 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.232e-05, allocations: 9.031 kB / 442.3 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.1696/0.1696, allocations: 2.166 MB / 444.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1712, allocations: 1.278 MB / 445.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1713, allocations: 6.875 kB / 445.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.1716, allocations: 138.4 kB / 445.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.172, allocations: 268.8 kB / 446.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1723, allocations: 188.6 kB / 446.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.1727, allocations: 477.2 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1729, allocations: 43.88 kB / 446.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.1732, allocations: 387.5 kB / 447.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1734, allocations: 141.5 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1734, allocations: 16.59 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1735, allocations: 73.47 kB / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1736, allocations: 161.4 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.1737, allocations: 100 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.174, allocations: 472.4 kB / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.174, allocations: 0 / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.174, allocations: 1.188 kB / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.174, allocations: 0 / 448.1 MB, free: 41.65 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.0006922/0.1747, allocations: 0.8358 MB / 449 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1748, allocations: 8.875 kB / 449 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.1748, allocations: 51.38 kB / 449 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.1749, allocations: 71.94 kB / 449.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1752, allocations: 368.2 kB / 449.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1752, allocations: 10.12 kB / 449.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1753, allocations: 24.17 kB / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1755, allocations: 198.6 kB / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1755, allocations: 3.062 kB / 449.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1755, allocations: 14.47 kB / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1755, allocations: 2.875 kB / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1756, allocations: 104.8 kB / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.1762, allocations: 0.7791 MB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.1765, allocations: 244 kB / 450.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.1766, allocations: 93.23 kB / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1766, allocations: 6.812 kB / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1769, allocations: 203.7 kB / 451.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.1769, allocations: 0 / 451.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001309/0.1782, allocations: 1.224 MB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1782, allocations: 138.3 kB / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.1788, allocations: 0.972 MB / 453.4 MB, free: 38.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1788, allocations: 39.55 kB / 453.5 MB, free: 38.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1789, allocations: 277.7 kB / 453.7 MB, free: 38.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.1789, allocations: 148.7 kB / 453.9 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.179, allocations: 78.73 kB / 454 MB, free: 38.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.179, allocations: 327.6 kB / 454.3 MB, free: 37.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1792, allocations: 123.1 kB / 454.4 MB, free: 37.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1793, allocations: 188.2 kB / 454.6 MB, free: 37.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.1796, allocations: 329.8 kB / 454.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1796, allocations: 2.844 kB / 454.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003976/0.18, allocations: 467.2 kB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.18, allocations: 6.062 kB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.18, allocations: 0 / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.18, allocations: 5.281 kB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1802, allocations: 82.25 kB / 455.5 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1802, allocations: 4.844 kB / 455.5 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-05/0.1803, allocations: 22.7 kB / 455.5 MB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1803, allocations: 20.23 kB / 455.5 MB, free: 37.23 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.0001585/0.1805, allocations: 269 kB / 455.8 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.1805, allocations: 76.42 kB / 455.9 MB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.181, allocations: 0.5278 MB / 456.4 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.181, allocations: 6.344 kB / 456.4 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.181, allocations: 7.266 kB / 456.4 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.181, allocations: 5.75 kB / 456.4 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.182, allocations: 1.318 MB / 457.7 MB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.182, allocations: 3.031 kB / 457.7 MB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.1821, allocations: 65.2 kB / 457.8 MB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1821, allocations: 6.719 kB / 457.8 MB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1821, allocations: 21.16 kB / 457.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1821, allocations: 3.219 kB / 457.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1821, allocations: 10.59 kB / 457.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.1825, allocations: 0.8252 MB / 458.6 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1827, allocations: 112 kB / 458.8 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.1827, allocations: 17.69 kB / 458.8 MB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1829, allocations: 16.97 kB / 458.8 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.183, allocations: 51.53 kB / 458.8 MB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.183, allocations: 27.45 kB / 458.9 MB, free: 35.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004207/0.1835, allocations: 0.7137 MB / 459.6 MB, free: 35.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1835, allocations: 4 kB / 459.6 MB, free: 35.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.1838, allocations: 91 kB / 459.7 MB, free: 35 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.001469/0.1853, allocations: 1.835 MB / 461.5 MB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.1857, allocations: 317.8 kB / 461.8 MB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1857, allocations: 0 / 461.8 MB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.1859, allocations: 161.6 kB / 462 MB, free: 33.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.1865, allocations: 129.9 kB / 462.1 MB, free: 33.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.1901, allocations: 5.194 MB / 467.3 MB, free: 30.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.1903, allocations: 331.3 kB / 467.6 MB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.1905, allocations: 79.2 kB / 467.7 MB, free: 30.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.1906, allocations: 212.9 kB / 467.9 MB, free: 30.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1906, allocations: 0 / 467.9 MB, free: 30.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.2135, allocations: 12.74 MB / 480.7 MB, free: 28.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.382, allocations: 8.953 kB / 480.7 MB, free: 28.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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: 9.336671219207346]