Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001/0.001, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001782/0.001782, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.981/0.981, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.42e-05, allocations: 5.969 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.005985/0.006009, allocations: 1.665 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.006913, allocations: 0.5336 MB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.006968, allocations: 0 / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.007544, allocations: 451.2 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.008026, allocations: 295.2 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.008343, allocations: 123.6 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.012, allocations: 179.6 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.01209, allocations: 4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.01223, allocations: 123.8 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.01246, allocations: 239.6 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.01248, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.01255, allocations: 27.92 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.01265, allocations: 87.7 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.01269, allocations: 39.75 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.01293, allocations: 187.2 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01293, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.01294, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.01294, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006339/0.01357, allocations: 0.6893 MB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.01361, allocations: 12.02 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.01368, allocations: 44.66 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.0139, allocations: 244.9 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.01391, allocations: 4.312 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.01392, allocations: 8.312 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.01405, allocations: 62.94 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01405, allocations: 192 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.01406, allocations: 4.125 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.01407, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.0141, allocations: 4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.01753, allocations: 415.8 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.01761, allocations: 35 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.01764, allocations: 19.77 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01766, allocations: 7.922 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01768, allocations: 41.39 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.01768, allocations: 0 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.01787, allocations: 85.41 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.01791, allocations: 55.34 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.02144, allocations: 0.6277 MB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.02145, allocations: 29.7 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.02163, allocations: 286.8 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.02165, allocations: 3.953 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.02169, allocations: 23.38 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.02186, allocations: 0.5508 MB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.02188, allocations: 8 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.02189, allocations: 4 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.02193, allocations: 15.69 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02193, allocations: 0 / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/0.02205, allocations: 93.28 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.02206, allocations: 8 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.02207, allocations: 3.984 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.02208, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.02216, allocations: 4 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.02216, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.0222, allocations: 8 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.02221, allocations: 4 kB / 385.3 MB, free: 11.12 MB / 362.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 (3): * Single equations (assignments): 3 * 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 9.155e-05/0.0223, allocations: 164.5 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.02235, allocations: 47.61 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.02249, allocations: 85.11 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.02249, allocations: 3.938 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.0225, allocations: 0 / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.0225, allocations: 4 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.02278, allocations: 272.5 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02278, allocations: 3.938 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.02282, allocations: 8 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.02282, allocations: 11.92 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.02283, allocations: 0 / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.02283, allocations: 0 / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02283, allocations: 0 / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.02298, allocations: 231.7 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.02301, allocations: 39.72 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.02304, allocations: 4.359 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.0231, allocations: 4 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.02312, allocations: 3.984 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.02312, allocations: 0 / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003345/0.02346, allocations: 434.8 kB / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02346, allocations: 0 / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000249/0.02371, allocations: 20 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.004839/0.02855, allocations: 329.4 kB / 387 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.02866, allocations: 15.69 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02866, allocations: 0 / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.02868, allocations: 19.77 kB / 387 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.029, allocations: 37.62 kB / 387.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.02973, allocations: 0.5744 MB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.02982, allocations: 119.2 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.02985, allocations: 4 kB / 387.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.02988, allocations: 12.5 kB / 387.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02988, allocations: 0 / 387.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of Templates: time 0.004163/0.03404, allocations: 1.249 MB / 389 MB, free: 7.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.111216947901994]