Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.0009991/0.0009991, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001169/0.001169, allocations: 164.4 kB / 24.99 MB, free: 8.297 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.9994/0.9994, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.2577/0.2577, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.678e-05, allocations: 4.281 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002251/0.002278, allocations: 1.658 MB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.003155, allocations: 0.5181 MB / 378.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.003218, allocations: 4 kB / 378.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.003696, allocations: 458.9 kB / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.004105, allocations: 291.3 kB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.004377, allocations: 127.5 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.004596, allocations: 163.6 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.004686, allocations: 8.172 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004795, allocations: 115.8 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.004982, allocations: 239.6 kB / 379.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004997, allocations: 4 kB / 379.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.005058, allocations: 27.94 kB / 379.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.005156, allocations: 87.69 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.005193, allocations: 31.75 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005393, allocations: 183.2 kB / 379.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.005397, allocations: 3.984 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005398, allocations: 4 kB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005402, allocations: 0 / 379.9 MB, free: 1.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005284/0.005931, allocations: 0.6854 MB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005968, allocations: 11.97 kB / 380.6 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.006027, allocations: 44.66 kB / 380.6 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.006216, allocations: 240.9 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.006226, allocations: 4.359 kB / 380.9 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.006236, allocations: 4.375 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006363, allocations: 62.98 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.006369, allocations: 192 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006379, allocations: 3.938 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.006386, allocations: 0 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.006411, allocations: 8 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.006803, allocations: 415.7 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.006853, allocations: 38.92 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.006873, allocations: 15.75 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.00689, allocations: 0 / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.006913, allocations: 37.39 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.006914, allocations: 0 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.007071, allocations: 77.42 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.007103, allocations: 55.39 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.007529, allocations: 0.6316 MB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.007537, allocations: 25.7 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.007672, allocations: 278.8 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.007688, allocations: 11.89 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.007714, allocations: 23.48 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.007866, allocations: 0.5509 MB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.007878, allocations: 4 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.007886, allocations: 0 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.007912, allocations: 15.69 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007914, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.943e-05/0.007984, allocations: 85.34 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.007997, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.008002, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.008014, allocations: 4.094 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.008073, allocations: 7.938 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.008077, allocations: 4 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.008103, allocations: 7.984 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.008108, allocations: 0 / 383.2 MB, free: 13.53 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 (2): * Single equations (assignments): 2 * 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 7.297e-05/0.008181, allocations: 160.4 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.008213, allocations: 43.66 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.008317, allocations: 72.75 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008319, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.008322, allocations: 4 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008326, allocations: 8.016 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.008539, allocations: 276.5 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00854, allocations: 0 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.008563, allocations: 7.938 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008565, allocations: 0 / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.008572, allocations: 0 / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008573, allocations: 0 / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008574, allocations: 3.938 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.008684, allocations: 223.7 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.008709, allocations: 43.66 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.008724, allocations: 4.031 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.008758, allocations: 0 / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.008772, allocations: 0 / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.008776, allocations: 7.984 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.009022, allocations: 422.8 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009022, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.009183, allocations: 15.94 kB / 384.5 MB, free: 12.2 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 (2): * Single equations (assignments): 2 * 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.0007411/0.009924, allocations: 341.1 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01003, allocations: 19.61 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01003, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.01004, allocations: 11.69 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.01031, allocations: 25.95 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.01093, allocations: 0.5614 MB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.01101, allocations: 115.3 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.837e-05/0.01104, allocations: 11.97 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.01106, allocations: 12.44 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01106, allocations: 4 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003411/0.01447, allocations: 1.154 MB / 386.7 MB, free: 10.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.2263395050540566]