Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001308/0.001308, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001375/0.001375, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1441/0.1441, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.532e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.00286/0.002895, allocations: 1.644 MB / 349.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006603/0.003555, allocations: 327.4 kB / 349.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.003622, allocations: 4 kB / 349.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.004096, allocations: 451 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.004423, allocations: 255.4 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.004707, allocations: 107.7 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.004966, allocations: 155.6 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.005097, allocations: 20.16 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.005231, allocations: 115.8 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.005414, allocations: 239.6 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.005439, allocations: 4 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.005529, allocations: 27.98 kB / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.005636, allocations: 83.72 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.005675, allocations: 31.73 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.005898, allocations: 195.1 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.0059, allocations: 0 / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005902, allocations: 3.938 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.005907, allocations: 8 kB / 351.3 MB, free: 5.793 MB / 282.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.0006296/0.006537, allocations: 0.6777 MB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.006598, allocations: 8.031 kB / 352 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.006678, allocations: 44.66 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.006909, allocations: 248.8 kB / 352.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006923, allocations: 4.312 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.006955, allocations: 4.375 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.007118, allocations: 54.95 kB / 352.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.007134, allocations: 192 / 352.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007147, allocations: 3.938 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.007158, allocations: 0 / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.007194, allocations: 19.98 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.007702, allocations: 427.6 kB / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.007945, allocations: 47 kB / 352.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.007969, allocations: 7.688 kB / 352.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.007999, allocations: 8.078 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.008025, allocations: 33.39 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.008027, allocations: 0 / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004705/0.008498, allocations: 185 kB / 353.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.008531, allocations: 51.41 kB / 353.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.008922, allocations: 0.6277 MB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.008937, allocations: 25.7 kB / 353.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.009093, allocations: 278.8 kB / 354 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.009118, allocations: 15.8 kB / 354 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.009171, allocations: 27.36 kB / 354.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.009382, allocations: 0.5508 MB / 354.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.009403, allocations: 7.938 kB / 354.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.009427, allocations: 7.984 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/0.009476, allocations: 27.88 kB / 354.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.009479, allocations: 7.938 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.009595, allocations: 89.41 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.009616, allocations: 15.98 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.009622, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.009644, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.009704, allocations: 11.94 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.009712, allocations: 0 / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.009742, allocations: 4 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.009749, allocations: 0 / 354.8 MB, free: 2.094 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0001067/0.009856, allocations: 164.5 kB / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.0099, allocations: 43.72 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.01007, allocations: 93.12 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01007, allocations: 4 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01008, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01008, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.01047, allocations: 469.3 kB / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01047, allocations: 0 / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.01051, allocations: 8 kB / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01051, allocations: 0 / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01052, allocations: 0 / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.01052, allocations: 0 / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.01052, allocations: 4 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.01064, allocations: 251.7 kB / 355.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.01066, allocations: 39.7 kB / 355.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01068, allocations: 0 / 355.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.01072, allocations: 4 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.01076, allocations: 0 / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01076, allocations: 7.984 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.01099, allocations: 422.8 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000193/0.01119, allocations: 23.88 kB / 356.3 MB, free: 0.5156 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0008917/0.01208, allocations: 388.7 kB / 356.7 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01221, allocations: 35.61 kB / 356.7 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01221, allocations: 0 / 356.7 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.01223, allocations: 15.69 kB / 356.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01251, allocations: 31.2 kB / 356.8 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.01326, allocations: 0.5743 MB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.574e-05/0.01335, allocations: 111.3 kB / 357.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.01339, allocations: 11.98 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.01343, allocations: 16.5 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01343, allocations: 0 / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.004889/0.01832, allocations: 1.439 MB / 358.9 MB, free: 13.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.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.095884542912245]