Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.00101/0.00101, 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.001188/0.001188, allocations: 170.2 kB / 24.91 MB, free: 9.211 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2503/0.2503, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.165e-05, allocations: 3.406 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002411/0.002433, allocations: 1.697 MB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008601/0.003293, allocations: 0.5413 MB / 327.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.003347, allocations: 4 kB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.003594, allocations: 75.7 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.003878, allocations: 103.5 kB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.004119, allocations: 95.62 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004266, allocations: 88.31 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.004349, allocations: 11.98 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.004413, allocations: 43.89 kB / 328 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.004501, allocations: 47.89 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.004513, allocations: 0 / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.004594, allocations: 55.91 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.004634, allocations: 19.92 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.004656, allocations: 11.94 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.004815, allocations: 95.59 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004817, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004818, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004822, allocations: 0 / 328.2 MB, free: 4.734 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.0003019/0.005124, allocations: 317.6 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.005152, allocations: 8.031 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.005179, allocations: 8.922 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.005304, allocations: 147.4 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.005313, allocations: 12.31 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.005328, allocations: 384 / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.005415, allocations: 58.94 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005422, allocations: 192 / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.00543, allocations: 8.125 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.005434, allocations: 0 / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.005458, allocations: 4 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.005661, allocations: 171 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.005714, allocations: 38.56 kB / 328.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.005727, allocations: 8.859 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.005748, allocations: 8 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.005772, allocations: 34.5 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.005774, allocations: 0 / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.006346, allocations: 138 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.006371, allocations: 55.41 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006479, allocations: 185.5 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.006489, allocations: 29.7 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.006521, allocations: 100 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.006544, allocations: 27.8 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.006573, allocations: 21.7 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.006647, allocations: 322.8 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.006661, allocations: 8 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.006685, allocations: 11.97 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.006722, allocations: 29.06 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006723, allocations: 0 / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.685e-05/0.00679, allocations: 61.61 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.006803, allocations: 8 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006808, allocations: 7.938 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00682, allocations: 4 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.006883, allocations: 15.98 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.006885, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.006905, allocations: 8.359 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.00691, allocations: 0 / 330 MB, free: 2.754 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 (8): * Single equations (assignments): 8 * 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.861e-05/0.006969, allocations: 116.7 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.00699, allocations: 11.92 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.007096, allocations: 75.06 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.0071, allocations: 7.984 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007101, allocations: 0 / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.007104, allocations: 4 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.007326, allocations: 247.5 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007328, allocations: 0 / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.007364, allocations: 12 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.007368, allocations: 4 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.007372, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/0.007377, allocations: 7.922 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007378, allocations: 0 / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.007467, allocations: 172.2 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.007476, allocations: 7.906 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.007485, allocations: 8.031 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.183e-05/0.007517, allocations: 0 / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.007544, allocations: 11.98 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007548, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.087e-05/0.007599, allocations: 56.14 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007599, allocations: 0 / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.00774, allocations: 12 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001284/0.009024, allocations: 0.5781 MB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.009116, allocations: 40.7 kB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.009121, allocations: 0 / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.009146, allocations: 24.78 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.009324, allocations: 27.98 kB / 331.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.009628, allocations: 223.7 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.009664, allocations: 63.34 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.009699, allocations: 17.02 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.009751, allocations: 59.38 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of SimCode: time 5.72e-07/0.009752, allocations: 0 / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of Templates: time 0.003437/0.01319, allocations: 1.494 MB / 333.3 MB, free: 15.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.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.880209777969867]