Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.0008392/0.0008392, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001889, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.000695/0.000695, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009605/0.001655, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.975/0.975, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1892/1.164, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1508/0.1508, allocations: 32.36 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02493/0.1757, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 4 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/3.031e-05, allocations: 10.25 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003384/0.003414, allocations: 1.731 MB / 269 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004774, allocations: 0.7881 MB / 269.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.004858, allocations: 0 / 269.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.005154, allocations: 67.67 kB / 269.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.005367, allocations: 71.66 kB / 270 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.005619, allocations: 83.7 kB / 270 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.005814, allocations: 95.64 kB / 270.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.005862, allocations: 7.984 kB / 270.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.006028, allocations: 79.81 kB / 270.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.006145, allocations: 35.91 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.006167, allocations: 4 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.006255, allocations: 31.88 kB / 270.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.006311, allocations: 23.92 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.006354, allocations: 11.94 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.006541, allocations: 83.67 kB / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.912e-05/0.006561, allocations: 0 / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006562, allocations: 0 / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.006578, allocations: 0 / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005147/0.007093, allocations: 316 kB / 270.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.007132, allocations: 8.031 kB / 270.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.007166, allocations: 8.938 kB / 270.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.007363, allocations: 149.5 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.007381, allocations: 8.312 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.00739, allocations: 384 / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.007525, allocations: 61.77 kB / 270.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.007535, allocations: 3.938 kB / 270.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.007544, allocations: 4 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.00755, allocations: 0 / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.00758, allocations: 4 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.007691, allocations: 70.62 kB / 271 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.007803, allocations: 49.36 kB / 271.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.007827, allocations: 16.84 kB / 271.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.00784, allocations: 0 / 271.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.007967, allocations: 58.22 kB / 271.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.007968, allocations: 0 / 271.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001398/0.008108, allocations: 61.61 kB / 271.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.008147, allocations: 55.34 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.008277, allocations: 164.3 kB / 271.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.008293, allocations: 29.7 kB / 271.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.008324, allocations: 92.11 kB / 271.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.00836, allocations: 15.89 kB / 271.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.0084, allocations: 25.72 kB / 271.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.008496, allocations: 322.8 kB / 271.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.008519, allocations: 10.81 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.00855, allocations: 21.94 kB / 271.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.008604, allocations: 43.3 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.008606, allocations: 0 / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.233e-05/0.008699, allocations: 52.52 kB / 272 MB, free: 1.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.008714, allocations: 8 kB / 272 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.00872, allocations: 4.031 kB / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.008729, allocations: 0 / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.008816, allocations: 23.86 kB / 272.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008819, allocations: 0 / 272.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.008859, allocations: 7.953 kB / 272.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.008864, allocations: 4 kB / 272.1 MB, free: 1.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 8.276e-05/0.008947, allocations: 116.7 kB / 272.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.008962, allocations: 4 kB / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.009082, allocations: 62.14 kB / 272.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009085, allocations: 3.938 kB / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.009088, allocations: 11.94 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009092, allocations: 0 / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.009186, allocations: 85.8 kB / 272.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009187, allocations: 3.938 kB / 272.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.009223, allocations: 7.984 kB / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.009238, allocations: 7.953 kB / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.009241, allocations: 0 / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.009247, allocations: 0 / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009249, allocations: 0 / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.009251, allocations: 7.938 kB / 272.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.009352, allocations: 86.89 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.00937, allocations: 4 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.009404, allocations: 4 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.009436, allocations: 3.984 kB / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.009454, allocations: 8 kB / 272.5 MB, free: 1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.009511, allocations: 48.39 kB / 272.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009511, allocations: 4 kB / 272.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.009677, allocations: 19.94 kB / 272.5 MB, free: 0.9258 MB / 266.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001592/0.01127, allocations: 0.5544 MB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.0114, allocations: 28.84 kB / 273.1 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.01141, allocations: 4 kB / 273.1 MB, free: 332 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.01144, allocations: 16.8 kB / 273.2 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.01161, allocations: 35.97 kB / 273.2 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.0121, allocations: 189.4 kB / 273.4 MB, free: 60 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.01214, allocations: 63.34 kB / 273.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01218, allocations: 16.47 kB / 273.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.01224, allocations: 67.44 kB / 273.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01224, allocations: 0 / 273.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of Templates: time 0.003265/0.01551, allocations: 1.78 MB / 275.3 MB, free: 14.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.9305373867973685]