Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0008968/0.0008968, 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.001194/0.001194, allocations: 173.4 kB / 24.92 MB, free: 9.129 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.9384/0.9384, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2502/0.2502, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.413e-05, allocations: 3.891 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002229/0.002254, allocations: 1.692 MB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003497, allocations: 1.301 MB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.003538, allocations: 4 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.003709, allocations: 23.8 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.003965, allocations: 88.2 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.004181, allocations: 131.6 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.004289, allocations: 71.72 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.004361, allocations: 19.97 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.004422, allocations: 39.91 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.004501, allocations: 23.91 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.004514, allocations: 8 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.004638, allocations: 95.81 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.004684, allocations: 15.92 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.004705, allocations: 20.41 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.004874, allocations: 135.6 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.004877, allocations: 0 / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004877, allocations: 0 / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.00488, allocations: 0 / 328.9 MB, free: 3.965 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.0003121/0.005193, allocations: 321.6 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.00522, allocations: 8.031 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.005248, allocations: 8.922 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.005363, allocations: 129.6 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.005372, allocations: 4.375 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.005391, allocations: 4.375 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.005493, allocations: 102.3 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005502, allocations: 4.141 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.005509, allocations: 8.125 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005515, allocations: 3.984 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.005536, allocations: 11.94 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.005716, allocations: 164.3 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.038e-05/0.005766, allocations: 30.56 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.005781, allocations: 8.859 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.005794, allocations: 0 / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.005813, allocations: 38.5 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.005813, allocations: 3.938 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002647/0.006078, allocations: 109.7 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.00611, allocations: 85.11 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.006188, allocations: 138.6 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.006197, allocations: 25.7 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.006223, allocations: 88.14 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.006243, allocations: 27.78 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.006268, allocations: 21.72 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.006334, allocations: 318.8 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.006344, allocations: 4 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.006372, allocations: 47.41 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.006404, allocations: 28.83 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006405, allocations: 0 / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.625e-05/0.006461, allocations: 61.59 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.00647, allocations: 4 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.006474, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006484, allocations: 3.938 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.006546, allocations: 15.98 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.006549, allocations: 320 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.006573, allocations: 19.92 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.006577, allocations: 0 / 330.7 MB, free: 1.965 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 (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 5.115e-05/0.006629, allocations: 112.7 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.006647, allocations: 15.94 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.006737, allocations: 78.36 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006739, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006741, allocations: 0 / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006743, allocations: 4 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.006919, allocations: 222.8 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.00692, allocations: 3.984 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.006955, allocations: 15.94 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006956, allocations: 0 / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-06/0.006961, allocations: 3.984 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006962, allocations: 4 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.006962, allocations: 4 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.232e-05/0.007034, allocations: 143.5 kB / 331.3 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.007044, allocations: 15.94 kB / 331.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.007055, allocations: 4 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.007091, allocations: 4 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.007116, allocations: 11.97 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.007119, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.007144, allocations: 31.19 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007144, allocations: 0 / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.007303, allocations: 43.8 kB / 331.4 MB, free: 1.203 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 (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.001219/0.008521, allocations: 0.628 MB / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.008603, allocations: 32.84 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.008606, allocations: 0 / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.008633, allocations: 28.77 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.00877, allocations: 27.8 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.009036, allocations: 188 kB / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.009068, allocations: 59.34 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.009105, allocations: 20.28 kB / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.009167, allocations: 67.36 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009167, allocations: 0 / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of Templates: time 0.003626/0.01279, allocations: 2.127 MB / 334.6 MB, free: 14.31 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.831632597837597]