Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001125/0.001125, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001043/0.001043, allocations: 165 kB / 24.56 MB, free: 16 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 1.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.633 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.2777/0.2777, allocations: 32.8 MB / 294.3 MB, free: 1.273 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.331e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00327/0.003293, allocations: 1.697 MB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.004919, allocations: 1.293 MB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.00498, allocations: 0 / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.005207, allocations: 23.8 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.005547, allocations: 87.55 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.00581, allocations: 135.5 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.005963, allocations: 75.77 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.006074, allocations: 15.98 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.006163, allocations: 35.91 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.006282, allocations: 31.89 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.006299, allocations: 4 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.006459, allocations: 99.75 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.006518, allocations: 8 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.006549, allocations: 27.91 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.006775, allocations: 135.5 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006778, allocations: 0 / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.006779, allocations: 4 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006783, allocations: 0 / 379.7 MB, free: 0.9648 MB / 346.7 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.0004726/0.007256, allocations: 432 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.007303, allocations: 12.03 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.007356, allocations: 8.891 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.007523, allocations: 140.4 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.007535, allocations: 8.375 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.007562, allocations: 4.359 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.007728, allocations: 108 kB / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.007739, allocations: 192 / 380.4 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.007752, allocations: 8.125 kB / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.007764, allocations: 0 / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.007805, allocations: 15.98 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.008215, allocations: 283.6 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.008305, allocations: 39.06 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.008332, allocations: 23.64 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.008356, allocations: 0 / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.008381, allocations: 33.39 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.008383, allocations: 0 / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004502/0.008833, allocations: 137.5 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.008872, allocations: 81.05 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.008992, allocations: 196.2 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.00901, allocations: 29.7 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.009063, allocations: 138.8 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.009087, allocations: 23.84 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.009121, allocations: 27.38 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.009253, allocations: 0.4884 MB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.009277, allocations: 8 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.009325, allocations: 57.06 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.009379, allocations: 35.89 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.00938, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.644e-05/0.009476, allocations: 73.56 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.00949, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.009494, allocations: 0 / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.009516, allocations: 4 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.009609, allocations: 15.98 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009615, allocations: 0 / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.009644, allocations: 7.984 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.009653, allocations: 8 kB / 382.1 MB, free: 14.31 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 (7): * Single equations (assignments): 7 * 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 8.694e-05/0.00974, allocations: 160.5 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.009766, allocations: 19.91 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.009926, allocations: 86.31 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009929, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.009934, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.009939, allocations: 3.984 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.01023, allocations: 337.4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01023, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.01028, allocations: 15.98 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01028, allocations: 3.938 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.01029, allocations: 11.94 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01029, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01029, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.01044, allocations: 219.8 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.01045, allocations: 7.953 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.01046, allocations: 0 / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.0105, allocations: 4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.01054, allocations: 7.984 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.01054, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.01062, allocations: 149 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 4 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.01082, allocations: 43.86 kB / 383.2 MB, free: 13.17 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 (7): * Single equations (assignments): 7 * 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.001152/0.01197, allocations: 490.8 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.01213, allocations: 43.67 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01213, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.01217, allocations: 31.55 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01241, allocations: 19.98 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.01285, allocations: 196.8 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.354e-05/0.0129, allocations: 59.34 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6e-05/0.01296, allocations: 20.28 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.01301, allocations: 16.5 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01301, allocations: 0 / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.004328/0.01734, allocations: 1.974 MB / 386 MB, free: 10.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.3318113991990685]