Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0009373/0.0009373, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001091/0.001091, allocations: 173.3 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 0.9984/0.9984, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2599/0.2599, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.558e-05, allocations: 6.312 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003492/0.003517, allocations: 1.68 MB / 325 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004924, allocations: 1.286 MB / 326.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.004978, allocations: 0 / 326.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.005184, allocations: 19.8 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.005433, allocations: 79.56 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.005646, allocations: 99.56 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.005786, allocations: 71.83 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.005873, allocations: 7.984 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.005936, allocations: 35.91 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.006029, allocations: 23.91 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.006043, allocations: 7.938 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.006192, allocations: 95.88 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.00623, allocations: 15.92 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.006254, allocations: 11.94 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.006443, allocations: 139.5 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006445, allocations: 0 / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006446, allocations: 4 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006451, allocations: 4 kB / 326.9 MB, free: 6.062 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003343/0.006785, allocations: 297.5 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.006819, allocations: 8.031 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.006849, allocations: 4.938 kB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.006988, allocations: 129.7 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.006995, allocations: 384 / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.007014, allocations: 4.375 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.007131, allocations: 98.3 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.00714, allocations: 192 / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.007149, allocations: 4.125 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007153, allocations: 4 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.007171, allocations: 4 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.007364, allocations: 171.8 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.00748, allocations: 34.5 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.007496, allocations: 8.859 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.007514, allocations: 0 / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.007535, allocations: 34.56 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.007536, allocations: 0 / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002536/0.00779, allocations: 81.56 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.007823, allocations: 85.11 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.007918, allocations: 146.7 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.007928, allocations: 25.7 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.007962, allocations: 96.06 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.007979, allocations: 11.84 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.008005, allocations: 17.72 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.008085, allocations: 326.8 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.008095, allocations: 4 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.008124, allocations: 47.39 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.008154, allocations: 28.98 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.008154, allocations: 4.031 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.679e-05/0.008211, allocations: 49.89 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.008223, allocations: 8 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008229, allocations: 3.984 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.00824, allocations: 0 / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.008278, allocations: 8 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.008281, allocations: 0 / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.008301, allocations: 11.97 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.008305, allocations: 0 / 328.6 MB, free: 4.152 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 (5): * Single equations (assignments): 5 * 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.345e-05/0.008359, allocations: 116.7 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.008377, allocations: 11.94 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.008459, allocations: 58.08 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008461, allocations: 0 / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008462, allocations: 0 / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.008468, allocations: 0 / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.008656, allocations: 218.8 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.008658, allocations: 3.938 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.008687, allocations: 11.98 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008688, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.008693, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008694, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008695, allocations: 4 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.008779, allocations: 147.7 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.00879, allocations: 15.89 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.008799, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.008831, allocations: 4 kB / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.008856, allocations: 3.984 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.00886, allocations: 4 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.008894, allocations: 42.56 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008894, allocations: 0 / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.009049, allocations: 43.8 kB / 329.2 MB, free: 3.422 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 (5): * Single equations (assignments): 5 * 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.001243/0.01029, allocations: 0.6197 MB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.201e-05/0.01036, allocations: 24.84 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01037, allocations: 4 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.01039, allocations: 24.91 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.01054, allocations: 19.92 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.01078, allocations: 154.5 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.01081, allocations: 63.34 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.319e-05/0.01084, allocations: 12 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.0109, allocations: 67.36 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0109, allocations: 0 / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of Templates: time 0.003297/0.0142, allocations: 1.996 MB / 332.2 MB, free: 0.7148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.8247517459094524]