Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.0009276/0.0009276, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009735/0.0009735, allocations: 175.3 kB / 24.92 MB, free: 9.18 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.9527/0.9527, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2317/0.2317, allocations: 32.8 MB / 294.6 MB, free: 1.262 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.426e-05, allocations: 5.125 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001842/0.001857, allocations: 1.686 MB / 324.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.002512, allocations: 0.5451 MB / 325.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.002559, allocations: 0 / 325.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.002951, allocations: 459 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.003263, allocations: 291.2 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.003488, allocations: 131.6 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.003675, allocations: 171.6 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.00375, allocations: 12.61 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003855, allocations: 119.8 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.004007, allocations: 199.6 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.004018, allocations: 4 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.004082, allocations: 31.94 kB / 326.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.00416, allocations: 87.64 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.004189, allocations: 35.75 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.00436, allocations: 199.2 kB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004362, allocations: 0 / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004362, allocations: 0 / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004365, allocations: 0 / 327.2 MB, free: 5.75 MB / 298.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.0003881/0.004753, allocations: 0.5423 MB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.004783, allocations: 12.03 kB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.004814, allocations: 20.91 kB / 327.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.004961, allocations: 246.1 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.00497, allocations: 8.359 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.004988, allocations: 12.27 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.005062, allocations: 58.92 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005068, allocations: 192 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.005076, allocations: 12.06 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.00508, allocations: 0 / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.005099, allocations: 11.98 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.005263, allocations: 164.3 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.005372, allocations: 30.5 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.005385, allocations: 12.86 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.005399, allocations: 0 / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.005418, allocations: 38.5 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.005419, allocations: 0 / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000252/0.005671, allocations: 101.6 kB / 328.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.005695, allocations: 51.41 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.005977, allocations: 0.5244 MB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.005986, allocations: 29.7 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.006032, allocations: 137.3 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.006052, allocations: 27.77 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.006073, allocations: 21.72 kB / 329.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.006148, allocations: 354.7 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.006159, allocations: 7.984 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-06/0.006167, allocations: 4 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.006191, allocations: 20.78 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.006192, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.038e-05/0.006242, allocations: 61.61 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.00625, allocations: 8 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.006254, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.006263, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.411e-05/0.006298, allocations: 19.98 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.0063, allocations: 0 / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.006322, allocations: 4.25 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.006325, allocations: 0 / 329.7 MB, free: 3.074 MB / 298.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 5.565e-05/0.006381, allocations: 112.6 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.006412, allocations: 27.91 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.006499, allocations: 89.23 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006501, allocations: 4 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006503, allocations: 3.984 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006505, allocations: 0 / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.00669, allocations: 274.6 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006691, allocations: 3.938 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.006715, allocations: 11.98 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.006716, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.00672, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006721, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006721, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.78e-05/0.006789, allocations: 167.4 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.006809, allocations: 39.66 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.006822, allocations: 0 / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.006854, allocations: 4 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.006874, allocations: 8.266 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.006876, allocations: 0 / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.007027, allocations: 279.2 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007027, allocations: 0 / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001268/0.007154, allocations: 27.94 kB / 330.7 MB, free: 1.984 MB / 298.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.0009626/0.008117, allocations: 0.4953 MB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.572e-05/0.008172, allocations: 32.84 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.008178, allocations: 8 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/0.008194, allocations: 16.8 kB / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.008355, allocations: 33.83 kB / 331.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.008837, allocations: 0.5695 MB / 331.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.0089, allocations: 119.2 kB / 332 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.008923, allocations: 11.97 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.008964, allocations: 55.38 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.008965, allocations: 0 / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of Templates: time 0.003337/0.0123, allocations: 1.462 MB / 333.5 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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: 2.984400250017643]