Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001653/0.001653, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.001827/0.001827, allocations: 161.3 kB / 24.27 MB, free: 136 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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.4168/0.4168, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.081e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003474/0.003505, allocations: 1.672 MB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.004572, allocations: 0.7793 MB / 379.8 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.004611, allocations: 8 kB / 379.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.00486, allocations: 35.7 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.005073, allocations: 39.83 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.005077, allocations: 0 / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.005244, allocations: 35.83 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.005275, allocations: 0 / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.005334, allocations: 15.94 kB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.005413, allocations: 15.97 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.005426, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.005478, allocations: 12 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.00553, allocations: 19.92 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.005556, allocations: 7.938 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.005708, allocations: 67.73 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.00571, allocations: 0 / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005711, allocations: 0 / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.005714, allocations: 0 / 380 MB, free: 252 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004947/0.006209, allocations: 399.9 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.006247, allocations: 8.031 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.006298, allocations: 12.83 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.00647, allocations: 124.5 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.006484, allocations: 8.375 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.006497, allocations: 4.375 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.006697, allocations: 108.3 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.006706, allocations: 192 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006719, allocations: 4.375 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/0.006776, allocations: 28.34 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.006838, allocations: 23.86 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.007923, allocations: 1.219 MB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.008111, allocations: 269.5 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.008193, allocations: 126.9 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.008257, allocations: 123.2 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.032e-05/0.008347, allocations: 152.6 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.008348, allocations: 0 / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.181e-05/0.00844, allocations: 37.59 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.008552, allocations: 178.6 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.008831, allocations: 267 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.008852, allocations: 25.7 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.009016, allocations: 210.2 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.009022, allocations: 3.984 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.009099, allocations: 47.38 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002834/0.009382, allocations: 0.504 MB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.009417, allocations: 15.94 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.00988, allocations: 193.7 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.01017, allocations: 237.4 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01017, allocations: 0 / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000311/0.01048, allocations: 169.2 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.0105, allocations: 4.625 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01051, allocations: 12 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.01053, allocations: 11.92 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01066, allocations: 35.92 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.01068, allocations: 11.98 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.01076, allocations: 23.84 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01078, allocations: 8 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001976/0.01098, allocations: 291.6 kB / 384.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.0111, allocations: 164.7 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.0112, allocations: 156.7 kB / 385.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001466/0.01135, allocations: 272 kB / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000145/0.01149, allocations: 276.2 kB / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001425/0.01164, allocations: 272.1 kB / 386 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.01203, allocations: 0.5154 MB / 386.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.318e-05/0.01211, allocations: 152.9 kB / 386.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.01219, allocations: 148.8 kB / 386.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.01234, allocations: 264.1 kB / 387 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.01249, allocations: 272.1 kB / 387.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001432/0.01263, allocations: 268 kB / 387.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001387/0.01277, allocations: 268 kB / 387.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.01306, allocations: 455.9 kB / 388.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.01316, allocations: 156.8 kB / 388.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.01332, allocations: 276 kB / 388.7 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.01345, allocations: 144.9 kB / 388.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.0136, allocations: 272 kB / 389.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.01368, allocations: 152.9 kB / 389.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.01382, allocations: 163.3 kB / 389.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 0 / 389.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.01411, allocations: 12 kB / 389.4 MB, free: 6.219 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 (0): * Single equations (assignments): 0 * 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.001225/0.01533, allocations: 329.5 kB / 389.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.01551, allocations: 78.11 kB / 389.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.01551, allocations: 4 kB / 389.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.01551, allocations: 0 / 389.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.01613, allocations: 0.7177 MB / 390.5 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.0166, allocations: 282.5 kB / 390.8 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.01671, allocations: 83.69 kB / 390.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.01686, allocations: 45.08 kB / 390.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.01691, allocations: 20.48 kB / 390.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01691, allocations: 7.938 kB / 391 MB, free: 4.656 MB / 362.7 MB Notification: Performance of Templates: time 0.004131/0.02104, allocations: 0.7263 MB / 391.7 MB, free: 3.941 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.989077336969785]