Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.00143/0.00143, allocations: 89.38 kB / 20.69 MB, free: 1.023 MB / 14.72 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.001594/0.001594, allocations: 157.9 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2108/0.2108, allocations: 34.27 MB / 294.8 MB, free: 14.53 MB / 286.1 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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.755e-05, allocations: 2.281 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003075/0.003103, allocations: 1.621 MB / 444.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004208, allocations: 0.537 MB / 444.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.004269, allocations: 0 / 444.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.004546, allocations: 71.77 kB / 444.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.004859, allocations: 99.47 kB / 445 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.005179, allocations: 118.6 kB / 445.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.005364, allocations: 87.69 kB / 445.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005479, allocations: 19.98 kB / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.005559, allocations: 39.89 kB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005666, allocations: 47.88 kB / 445.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.005686, allocations: 4 kB / 445.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.005787, allocations: 47.92 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.005845, allocations: 15.92 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.005883, allocations: 19.92 kB / 445.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.006075, allocations: 99.64 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006078, allocations: 3.938 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006079, allocations: 0 / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.006088, allocations: 0 / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005048/0.006593, allocations: 341.6 kB / 445.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.006626, allocations: 8.031 kB / 445.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.006666, allocations: 12.89 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.006863, allocations: 141.6 kB / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.00687, allocations: 384 / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.006898, allocations: 4.375 kB / 446 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.007051, allocations: 58.17 kB / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007064, allocations: 192 / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.007073, allocations: 384 / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.007077, allocations: 384 / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.007181, allocations: 39.91 kB / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.007582, allocations: 232.5 kB / 446.3 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.007704, allocations: 46.5 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.007765, allocations: 20.94 kB / 446.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.007782, allocations: 0 / 446.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.00781, allocations: 38.48 kB / 446.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.007811, allocations: 0 / 446.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009803/0.008791, allocations: 257.2 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.00883, allocations: 55.34 kB / 446.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.009053, allocations: 204 kB / 446.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.009081, allocations: 25.7 kB / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.009155, allocations: 108.1 kB / 447.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.009193, allocations: 31.72 kB / 447.1 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.009243, allocations: 21.72 kB / 447.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.009403, allocations: 322.8 kB / 447.4 MB, free: 356 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.009504, allocations: 31.97 kB / 447.5 MB, free: 324 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.009591, allocations: 31.92 kB / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.009783, allocations: 72.81 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.009784, allocations: 0 / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002476/0.01003, allocations: 121.5 kB / 447.7 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01005, allocations: 8 kB / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01005, allocations: 0 / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.01007, allocations: 0 / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01018, allocations: 19.98 kB / 447.7 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.01019, allocations: 3.938 kB / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01023, allocations: 7.984 kB / 447.7 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01024, allocations: 0 / 447.7 MB, free: 48 kB / 366.1 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 (8): * Single equations (assignments): 8 * 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.1754/0.1857, allocations: 124.1 kB / 447.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.1858, allocations: 12.89 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.1861, allocations: 126.5 kB / 448 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1862, allocations: 2.531 kB / 448 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1862, allocations: 0 / 448 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1862, allocations: 3.797 kB / 448 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1867, allocations: 363.1 kB / 448.3 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1867, allocations: 1.188 kB / 448.3 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.1868, allocations: 19.44 kB / 448.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1868, allocations: 1.031 kB / 448.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1868, allocations: 1.531 kB / 448.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1868, allocations: 8.094 kB / 448.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1868, allocations: 1.438 kB / 448.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1871, allocations: 210.4 kB / 448.6 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.1871, allocations: 9.562 kB / 448.6 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1871, allocations: 9.172 kB / 448.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.1872, allocations: 9.875 kB / 448.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1872, allocations: 6.062 kB / 448.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1873, allocations: 2.953 kB / 448.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1874, allocations: 159.1 kB / 448.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1874, allocations: 0 / 448.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1876, allocations: 22.83 kB / 448.8 MB, free: 18.45 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001863/0.1895, allocations: 482.6 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1898, allocations: 69.55 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1898, allocations: 0 / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.1899, allocations: 38.77 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1902, allocations: 21.44 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.1907, allocations: 266 kB / 449.6 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.14e-05/0.1908, allocations: 98.38 kB / 449.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.421e-05/0.1909, allocations: 21.97 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.1909, allocations: 17.28 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1909, allocations: 0 / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of Templates: time 0.004606/0.1955, allocations: 1.392 MB / 451.2 MB, free: 17.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.004861775785685]