Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.0009669/0.0009669, 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.001032/0.001032, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2618/0.2618, allocations: 34.26 MB / 296 MB, free: 0.7812 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.976e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.00239/0.00242, allocations: 1.704 MB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003742, allocations: 1.289 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.003802, allocations: 4 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.004023, allocations: 31.72 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.004356, allocations: 83.56 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.004613, allocations: 127.6 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004751, allocations: 71.78 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.004844, allocations: 15.97 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.004908, allocations: 43.84 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.862e-05/0.005007, allocations: 27.91 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.005022, allocations: 4 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.005157, allocations: 95.81 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.005216, allocations: 19.92 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.005241, allocations: 11.98 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.00544, allocations: 139.5 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005442, allocations: 0 / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005443, allocations: 0 / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005448, allocations: 4 kB / 381.7 MB, free: 15.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004265/0.005874, allocations: 436 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.00591, allocations: 12.03 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.005964, allocations: 12.83 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.006119, allocations: 143.9 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.006129, allocations: 384 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.006151, allocations: 12.31 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.006293, allocations: 104 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.006303, allocations: 192 / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.006313, allocations: 8.125 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.006322, allocations: 0 / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.428e-05/0.006356, allocations: 11.92 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.006651, allocations: 287.7 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.006726, allocations: 35.05 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.006773, allocations: 19.62 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.006796, allocations: 0 / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.006824, allocations: 41.33 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.006826, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004324/0.007258, allocations: 137.5 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.007296, allocations: 77.11 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.007415, allocations: 197.9 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.007427, allocations: 25.7 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.007474, allocations: 146.8 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.007494, allocations: 15.86 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.007527, allocations: 31.36 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.007633, allocations: 0.4884 MB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.007653, allocations: 7.984 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.007691, allocations: 53.08 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.007735, allocations: 35.61 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007736, allocations: 4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.139e-05/0.007818, allocations: 77.59 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.007832, allocations: 10.03 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007836, allocations: 0 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.007873, allocations: 0 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.007949, allocations: 15.98 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007955, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.00798, allocations: 4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007986, allocations: 4 kB / 384.1 MB, free: 12.64 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 6.4e-05/0.00805, allocations: 164.5 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.008072, allocations: 15.91 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.008196, allocations: 86.33 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.008199, allocations: 0 / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008202, allocations: 3.938 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008205, allocations: 0 / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.008452, allocations: 341.4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008453, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.008492, allocations: 19.92 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008495, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.008502, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008503, allocations: 480 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.008504, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.008619, allocations: 220.1 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.008631, allocations: 15.94 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.008644, allocations: 3.984 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.839e-05/0.008682, allocations: 4 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.008716, allocations: 7.984 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.00872, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.008783, allocations: 147.1 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008783, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000187/0.00897, allocations: 43.86 kB / 385.2 MB, free: 11.49 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.0009731/0.009943, allocations: 491.5 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.01005, allocations: 47.66 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01005, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.01008, allocations: 27.61 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.01027, allocations: 30.92 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.01059, allocations: 186.4 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.01062, allocations: 67.34 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.01066, allocations: 8 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.0107, allocations: 20.48 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0107, allocations: 4 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003403/0.0141, allocations: 1.979 MB / 388 MB, free: 8.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.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.203424212988466]