Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001271/0.001271, allocations: 80.41 kB / 22.21 MB, free: 2.281 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.001493/0.001493, allocations: 167.1 kB / 25.61 MB, free: 8.59 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.9673/0.9673, allocations: 177.1 MB / 206 MB, free: 4.461 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.1897/0.1897, allocations: 32.8 MB / 295.4 MB, free: 15.47 MB / 282.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.384e-05, allocations: 8.984 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002523/0.002536, allocations: 1.696 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.003448, allocations: 0.5646 MB / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.003511, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.003708, allocations: 47.77 kB / 379.6 MB, free: 23.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.00395, allocations: 103.5 kB / 379.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.004301, allocations: 179.4 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.00444, allocations: 87.81 kB / 380 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.004522, allocations: 12.22 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.004589, allocations: 51.83 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.004665, allocations: 35.88 kB / 380.1 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.004679, allocations: 4 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.004768, allocations: 55.86 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.004818, allocations: 23.92 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.004842, allocations: 15.92 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004994, allocations: 95.66 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004996, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004996, allocations: 4 kB / 380.3 MB, free: 22.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.004999, allocations: 0 / 380.3 MB, free: 22.6 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003297/0.005329, allocations: 443.9 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.00536, allocations: 15.98 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.005402, allocations: 12.84 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.005524, allocations: 151.1 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.005534, allocations: 4.375 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.005552, allocations: 8.375 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.005663, allocations: 62.94 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.005673, allocations: 4.125 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.00568, allocations: 8.125 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005686, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.005721, allocations: 11.98 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.005979, allocations: 280.2 kB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.006115, allocations: 51.08 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.006137, allocations: 11.69 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.00615, allocations: 3.938 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.006167, allocations: 37.39 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.006168, allocations: 0 / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006553/0.006824, allocations: 232.3 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.006855, allocations: 55.34 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.006972, allocations: 209.8 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.006982, allocations: 25.7 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.007029, allocations: 154.8 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.00706, allocations: 39.69 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.007103, allocations: 35.36 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.007176, allocations: 0.4961 MB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.007207, allocations: 11.98 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.778e-05/0.007235, allocations: 8 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.007315, allocations: 47.78 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007317, allocations: 4 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001379/0.007455, allocations: 97.78 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007467, allocations: 6.188 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007472, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.007482, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.007574, allocations: 31.97 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.007578, allocations: 0 / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.007616, allocations: 4 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.007625, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.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 (11): * Single equations (assignments): 11 * 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.705e-05/0.007682, allocations: 164.5 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.007721, allocations: 11.95 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.007897, allocations: 106.4 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0079, allocations: 4 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007902, allocations: 0 / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007906, allocations: 0 / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.008287, allocations: 397.1 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.008289, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.008375, allocations: 23.98 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008378, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.008387, allocations: 4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.00839, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008391, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.008552, allocations: 263.1 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.008565, allocations: 7.953 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.00858, allocations: 8 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.00866, allocations: 4 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.008699, allocations: 15.92 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.008709, allocations: 7.984 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.008769, allocations: 154.4 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008769, allocations: 0 / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.00906, allocations: 31.92 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001242/0.0103, allocations: 429.5 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01044, allocations: 63.58 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01044, allocations: 0 / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.01049, allocations: 35.61 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.0108, allocations: 27.83 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.01121, allocations: 252.1 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.854e-05/0.01124, allocations: 75.19 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.01128, allocations: 20.59 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.01133, allocations: 90.19 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01133, allocations: 0 / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of Templates: time 0.002723/0.01406, allocations: 1.821 MB / 386.7 MB, free: 15.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.439388717059046]