Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000813/0.000813, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003369/0.003369, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8601/0.8601, allocations: 177.2 MB / 205 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.2304/0.2304, allocations: 32.79 MB / 294.2 MB, free: 1.18 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.583e-05, allocations: 8.328 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00296/0.002986, allocations: 1.79 MB / 442.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004658, allocations: 1.047 MB / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.004757, allocations: 4 kB / 443.8 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.005281, allocations: 307.1 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.005758, allocations: 259 kB / 444.3 MB, free: 240 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.005975, allocations: 103.6 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1795/0.1855, allocations: 264.4 kB / 444.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.1856, allocations: 9.312 kB / 444.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1857, allocations: 156.1 kB / 444.8 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1859, allocations: 201.8 kB / 445 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1859, allocations: 8.312 kB / 445 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.186, allocations: 49.08 kB / 445.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.1861, allocations: 138.9 kB / 445.2 MB, free: 44.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.1862, allocations: 70.03 kB / 445.3 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1865, allocations: 350.5 kB / 445.6 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.1865, allocations: 0 / 445.6 MB, free: 44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1865, allocations: 0 / 445.6 MB, free: 44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1865, allocations: 0 / 445.6 MB, free: 44 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.0005016/0.187, allocations: 0.6718 MB / 446.3 MB, free: 43.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.187, allocations: 12.56 kB / 446.3 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.187, allocations: 50.08 kB / 446.4 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1874, allocations: 387.7 kB / 446.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1874, allocations: 3.062 kB / 446.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1874, allocations: 3.969 kB / 446.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1875, allocations: 91.88 kB / 446.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1875, allocations: 1.75 kB / 446.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1876, allocations: 7.406 kB / 446.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1876, allocations: 2.844 kB / 446.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.1876, allocations: 31.08 kB / 446.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.1878, allocations: 303.4 kB / 447.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.188, allocations: 112 kB / 447.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.188, allocations: 40.95 kB / 447.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.188, allocations: 0 / 447.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.1882, allocations: 109.5 kB / 447.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.1882, allocations: 0 / 447.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002713/0.1885, allocations: 218.5 kB / 447.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1885, allocations: 83.48 kB / 447.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.189, allocations: 1.032 MB / 448.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.1891, allocations: 28.67 kB / 448.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.1891, allocations: 234.1 kB / 449 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1892, allocations: 34.31 kB / 449.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.1892, allocations: 29.36 kB / 449.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.1893, allocations: 366.2 kB / 449.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.1893, allocations: 27.52 kB / 449.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.1894, allocations: 63.53 kB / 449.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9e-05/0.1894, allocations: 97.09 kB / 449.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1894, allocations: 0 / 449.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001468/0.1896, allocations: 179.1 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1896, allocations: 5.5 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1896, allocations: 2.75 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1896, allocations: 4.812 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.1897, allocations: 23.34 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1897, allocations: 2.875 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.1897, allocations: 6.219 kB / 449.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1897, allocations: 10.28 kB / 449.9 MB, free: 42.11 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.0001102/0.1899, allocations: 218 kB / 450.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1899, allocations: 57.62 kB / 450.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.1901, allocations: 213 kB / 450.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1901, allocations: 6.062 kB / 450.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1901, allocations: 2 kB / 450.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1901, allocations: 0 / 450.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1902, allocations: 266.8 kB / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1902, allocations: 6.469 kB / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1902, allocations: 8.031 kB / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1902, allocations: 3.562 kB / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1903, allocations: 6.047 kB / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1903, allocations: 0 / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1903, allocations: 6.781 kB / 450.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1904, allocations: 229.9 kB / 450.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.1905, allocations: 60.72 kB / 450.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1905, allocations: 2.875 kB / 450.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.1905, allocations: 6.141 kB / 450.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1906, allocations: 13.61 kB / 450.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1906, allocations: 9.656 kB / 450.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.191, allocations: 0.7705 MB / 451.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.191, allocations: 0 / 451.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.1911, allocations: 50.97 kB / 451.8 MB, free: 41.27 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.0006219/0.1917, allocations: 441.8 kB / 452.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1919, allocations: 88.12 kB / 452.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1919, allocations: 0 / 452.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.1919, allocations: 47.62 kB / 452.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.1922, allocations: 64.39 kB / 452.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.1929, allocations: 0.9194 MB / 453.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.193, allocations: 239.4 kB / 453.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.193, allocations: 27.19 kB / 453.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.193, allocations: 0 / 453.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of Templates: time 0.0043/0.1973, allocations: 5.272 MB / 458.8 MB, free: 39.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.031630245037377]