Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0008455/0.0008455, 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.007565/0.007565, allocations: 163 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.9111/0.9111, allocations: 177.2 MB / 205 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.249/0.249, allocations: 32.8 MB / 294.2 MB, free: 1.203 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.949e-05, allocations: 2.281 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002004/0.002024, allocations: 1.64 MB / 442.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007504/0.002774, allocations: 0.553 MB / 443.1 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.002841, allocations: 0 / 443.1 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.003132, allocations: 103.5 kB / 443.2 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.003435, allocations: 111.5 kB / 443.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.003714, allocations: 118 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003901, allocations: 103.7 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004021, allocations: 15.98 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.004103, allocations: 63.81 kB / 443.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.00421, allocations: 59.86 kB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.004228, allocations: 4 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.004326, allocations: 47.92 kB / 443.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.004387, allocations: 31.91 kB / 443.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.004424, allocations: 23.88 kB / 443.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.004617, allocations: 135.5 kB / 443.9 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004619, allocations: 0 / 443.9 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.00462, allocations: 0 / 443.9 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.004625, allocations: 0 / 443.9 MB, free: 0.7109 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004438/0.005069, allocations: 361.5 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.005106, allocations: 8.031 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.00515, allocations: 16.84 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.005317, allocations: 145.6 kB / 444.4 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005328, allocations: 4.375 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.005355, allocations: 8.375 kB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.005505, allocations: 82.14 kB / 444.5 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.005521, allocations: 4.141 kB / 444.5 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.005536, allocations: 8.125 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005542, allocations: 4 kB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1802/0.1857, allocations: 37.06 kB / 444.5 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1861, allocations: 282.6 kB / 444.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.1862, allocations: 65.45 kB / 444.9 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.1862, allocations: 25.06 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1862, allocations: 3.531 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.1862, allocations: 37.44 kB / 444.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1862, allocations: 0 / 444.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006634/0.1869, allocations: 332.9 kB / 445.3 MB, free: 46.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.1869, allocations: 56.97 kB / 445.3 MB, free: 46.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1871, allocations: 243 kB / 445.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.1871, allocations: 27.77 kB / 445.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.1871, allocations: 107.8 kB / 445.7 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1871, allocations: 49.8 kB / 445.7 MB, free: 46.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1872, allocations: 29.34 kB / 445.8 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.164e-05/0.1872, allocations: 328 kB / 446.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.1873, allocations: 47.52 kB / 446.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.1873, allocations: 46.33 kB / 446.2 MB, free: 45.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1874, allocations: 117.4 kB / 446.3 MB, free: 45.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1874, allocations: 0 / 446.3 MB, free: 45.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001432/0.1876, allocations: 151 kB / 446.4 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1876, allocations: 5.781 kB / 446.4 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1876, allocations: 0 / 446.4 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1876, allocations: 5.672 kB / 446.4 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.1877, allocations: 28.61 kB / 446.5 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1877, allocations: 2.188 kB / 446.5 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.1877, allocations: 14.11 kB / 446.5 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1877, allocations: 2.562 kB / 446.5 MB, free: 45.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.448e-05/0.1878, allocations: 137.3 kB / 446.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.1878, allocations: 13.47 kB / 446.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.188, allocations: 188.3 kB / 446.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.188, allocations: 0 / 446.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.188, allocations: 5.906 kB / 446.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.188, allocations: 3.938 kB / 446.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.1883, allocations: 433.5 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1883, allocations: 2.656 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.1884, allocations: 25.17 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1884, allocations: 6.594 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1884, allocations: 10.22 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1884, allocations: 2.656 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1884, allocations: 0 / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1885, allocations: 256 kB / 447.6 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.1885, allocations: 13.28 kB / 447.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1885, allocations: 11.06 kB / 447.6 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.1886, allocations: 5.656 kB / 447.6 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1886, allocations: 13.58 kB / 447.6 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1886, allocations: 3.594 kB / 447.6 MB, free: 45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.1887, allocations: 183.8 kB / 447.8 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1887, allocations: 3.562 kB / 447.8 MB, free: 44.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.1889, allocations: 30.09 kB / 447.8 MB, free: 44.89 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0007058/0.1896, allocations: 487.2 kB / 448.3 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1897, allocations: 108 kB / 448.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1897, allocations: 0 / 448.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.1898, allocations: 63.09 kB / 448.5 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.19, allocations: 23.44 kB / 448.5 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.1904, allocations: 363.2 kB / 448.8 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.1905, allocations: 110.7 kB / 448.9 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1905, allocations: 24.55 kB / 449 MB, free: 44.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1905, allocations: 0 / 449 MB, free: 44.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002464/0.193, allocations: 2.242 MB / 451.2 MB, free: 44.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 4.8348168367519975]