Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001321/0.001321, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009837/0.0009837, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.8992/0.8992, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.275/0.275, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.Test24,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 3.938 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.172e-05, allocations: 3.188 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00186/0.001871, allocations: 1.717 MB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006352/0.002507, allocations: 0.5412 MB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.002542, allocations: 4 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.002706, allocations: 55.67 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.002902, allocations: 91.53 kB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.003106, allocations: 135.6 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003209, allocations: 84.27 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.003271, allocations: 20.14 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.003327, allocations: 39.91 kB / 328 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.003391, allocations: 35.89 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.003401, allocations: 4 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.003467, allocations: 51.92 kB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.003519, allocations: 19.91 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.003537, allocations: 19.92 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003649, allocations: 95.66 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-06/0.00365, allocations: 0 / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003651, allocations: 0 / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.003653, allocations: 0 / 328.2 MB, free: 4.742 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000263/0.003916, allocations: 305.7 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.343e-05/0.00394, allocations: 8.031 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.003965, allocations: 16.92 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.004067, allocations: 137.1 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.004075, allocations: 4.375 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.004091, allocations: 8.312 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.004171, allocations: 70.69 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004179, allocations: 4 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.004185, allocations: 0 / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004189, allocations: 0 / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.004214, allocations: 19.91 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.004386, allocations: 172.2 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.004493, allocations: 42.48 kB / 328.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.004507, allocations: 8.953 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.004517, allocations: 3.938 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.004534, allocations: 38.56 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.004536, allocations: 0 / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004024/0.004938, allocations: 197.9 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.004963, allocations: 51.41 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.005052, allocations: 167.5 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.005061, allocations: 25.7 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.00509, allocations: 104 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.005113, allocations: 35.69 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.00514, allocations: 21.7 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.005209, allocations: 330.7 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.005223, allocations: 15.88 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.005239, allocations: 12.97 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.005285, allocations: 34.7 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.005286, allocations: 0 / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.371e-05/0.005349, allocations: 69.67 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.005358, allocations: 4 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.005361, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.005372, allocations: 4 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.005426, allocations: 23.92 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.00543, allocations: 7.984 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.00545, allocations: 4 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.005455, allocations: 3.938 kB / 330.1 MB, free: 2.68 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 (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 5.652e-05/0.005511, allocations: 120.6 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.005531, allocations: 11.98 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/0.005631, allocations: 86.33 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.005634, allocations: 4 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005637, allocations: 7.984 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.00564, allocations: 0 / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.005873, allocations: 280.3 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005875, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.005918, allocations: 23.92 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00592, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005926, allocations: 7.984 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.005928, allocations: 0 / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.00593, allocations: 3.938 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.006026, allocations: 192 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006033, allocations: 7.953 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.006044, allocations: 3.984 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.006081, allocations: 8.188 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.006105, allocations: 11.92 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.00611, allocations: 8 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.618e-05/0.006146, allocations: 45.88 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006146, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.006293, allocations: 27.89 kB / 330.9 MB, free: 1.777 MB / 298.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.001071/0.007364, allocations: 0.5606 MB / 331.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.007448, allocations: 52.78 kB / 331.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.007451, allocations: 0 / 331.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.007479, allocations: 36.78 kB / 331.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.00762, allocations: 23.11 kB / 331.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.00791, allocations: 252.3 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.007947, allocations: 67.34 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.007986, allocations: 16.61 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.00804, allocations: 67.31 kB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008041, allocations: 0 / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of Templates: time 0.00277/0.01081, allocations: 1.684 MB / 333.7 MB, free: 15.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.8867086498066783]