Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0009985/0.0009985, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000956/0.000956, allocations: 161 kB / 24.56 MB, free: 16 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 0.9591/0.9591, allocations: 177.1 MB / 205 MB, free: 5.629 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.2683/0.2683, allocations: 32.81 MB / 294.3 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.001e-05, allocations: 6.312 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002141/0.002161, allocations: 1.719 MB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.002865, allocations: 0.5491 MB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.002916, allocations: 4 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.003156, allocations: 51.8 kB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.003409, allocations: 103.4 kB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.003633, allocations: 135.6 kB / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003774, allocations: 83.81 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.003867, allocations: 16.22 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.003933, allocations: 47.83 kB / 378.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.00403, allocations: 51.81 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004044, allocations: 4 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.004126, allocations: 55.91 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.00419, allocations: 23.91 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.004212, allocations: 11.94 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.004367, allocations: 99.66 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004369, allocations: 0 / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.00437, allocations: 0 / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.004374, allocations: 0 / 379 MB, free: 1.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003999/0.004774, allocations: 443.9 kB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.004807, allocations: 8.031 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.004849, allocations: 24.81 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.004981, allocations: 143.5 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.004993, allocations: 8.359 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.005019, allocations: 384 / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.005139, allocations: 74.88 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005149, allocations: 192 / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005159, allocations: 8.125 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.005166, allocations: 0 / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.63e-05/0.005203, allocations: 11.98 kB / 379.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.005504, allocations: 299.7 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.005668, allocations: 50.98 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.005693, allocations: 15.69 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.005713, allocations: 0 / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.005737, allocations: 41.39 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005737, allocations: 0 / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005786/0.006316, allocations: 241.8 kB / 380.3 MB, free: 188 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.006343, allocations: 51.41 kB / 380.4 MB, free: 124 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.006471, allocations: 218.5 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.006483, allocations: 29.7 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.006538, allocations: 150.8 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.006569, allocations: 43.69 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.006602, allocations: 31.38 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.006716, allocations: 0.5 MB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.006745, allocations: 16.17 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.00677, allocations: 15.98 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.029e-05/0.00683, allocations: 47.69 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.006831, allocations: 0 / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001058/0.006937, allocations: 101.7 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.006949, allocations: 8 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006954, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.006969, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.007033, allocations: 27.98 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007037, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.00706, allocations: 4 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007066, allocations: 0 / 381.6 MB, free: 14.88 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 (11): * Single equations (assignments): 11 * 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.891e-05/0.007135, allocations: 172.4 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.007159, allocations: 15.94 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.007326, allocations: 106.4 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.007329, allocations: 4 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.007332, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007336, allocations: 4 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.007675, allocations: 416.5 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.007678, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.007729, allocations: 19.98 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.007734, allocations: 7.984 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007743, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.007748, allocations: 7.875 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.00775, allocations: 4 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.007901, allocations: 259.3 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.007913, allocations: 11.95 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.007926, allocations: 0 / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.135e-05/0.007967, allocations: 7.938 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.008013, allocations: 11.98 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.008019, allocations: 11.92 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.008092, allocations: 160 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008092, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.008273, allocations: 27.98 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009495/0.009222, allocations: 442.2 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.009349, allocations: 59.59 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.00935, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.009392, allocations: 39.61 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.009607, allocations: 20.2 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.009982, allocations: 264.4 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.01002, allocations: 71.28 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.01006, allocations: 20.59 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.0101, allocations: 16.5 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0101, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003139/0.01324, allocations: 1.582 MB / 385.3 MB, free: 11.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.3571809148415923]