Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001297/0.001297, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.003016, 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.001076/0.001076, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002501, 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.9826/0.9826, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1783/1.161, allocations: 49.49 MB / 220.5 MB, free: 5.281 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.1273/0.1273, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02067/0.148, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.414e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002562/0.002586, allocations: 1.735 MB / 269 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.00358, allocations: 0.7842 MB / 269.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.003643, allocations: 4 kB / 269.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.003857, allocations: 59.67 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.004006, allocations: 59.69 kB / 269.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.004199, allocations: 87.69 kB / 270 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.00437, allocations: 95.64 kB / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.004415, allocations: 8 kB / 270.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.004543, allocations: 75.83 kB / 270.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.004637, allocations: 35.89 kB / 270.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.004656, allocations: 0 / 270.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.004732, allocations: 35.86 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.004774, allocations: 11.94 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.00481, allocations: 15.94 kB / 270.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.00496, allocations: 75.75 kB / 270.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.004976, allocations: 0 / 270.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004978, allocations: 0 / 270.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.004993, allocations: 0 / 270.4 MB, free: 3.352 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.0004258/0.005419, allocations: 324 kB / 270.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.005447, allocations: 8.031 kB / 270.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.005474, allocations: 4.938 kB / 270.7 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.005623, allocations: 153.4 kB / 270.8 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.005637, allocations: 4.375 kB / 270.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.005644, allocations: 384 / 270.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.00574, allocations: 57.77 kB / 270.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005747, allocations: 3.938 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.005753, allocations: 0 / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.005758, allocations: 3.938 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.00578, allocations: 8 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.686e-05/0.005857, allocations: 74.69 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.025e-05/0.005927, allocations: 37.38 kB / 271 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.005945, allocations: 12.84 kB / 271 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.005955, allocations: 4 kB / 271 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.555e-05/0.006041, allocations: 62.2 kB / 271.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.006042, allocations: 0 / 271.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001057/0.006147, allocations: 53.67 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.006178, allocations: 71.28 kB / 271.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.006265, allocations: 156.2 kB / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.006278, allocations: 29.7 kB / 271.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.006301, allocations: 88.12 kB / 271.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.006329, allocations: 19.88 kB / 271.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.006356, allocations: 21.72 kB / 271.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.006431, allocations: 326.8 kB / 271.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.006444, allocations: 6.828 kB / 271.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.006464, allocations: 25.94 kB / 271.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.006499, allocations: 35.38 kB / 271.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.006502, allocations: 3.984 kB / 271.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.444e-05/0.006557, allocations: 60.45 kB / 272 MB, free: 1.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006568, allocations: 4 kB / 272 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006572, allocations: 0 / 272 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.00658, allocations: 0 / 272 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.006635, allocations: 23.86 kB / 272 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.006637, allocations: 0 / 272 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.006664, allocations: 7.938 kB / 272 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.006668, allocations: 0 / 272 MB, free: 1.512 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 6e-05/0.006728, allocations: 120.7 kB / 272.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.006737, allocations: 7.984 kB / 272.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.006815, allocations: 62.12 kB / 272.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.006818, allocations: 4 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006821, allocations: 3.938 kB / 272.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006824, allocations: 0 / 272.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.49e-05/0.006889, allocations: 77.88 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00689, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.006907, allocations: 11.88 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.006917, allocations: 7.953 kB / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006919, allocations: 0 / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.006925, allocations: 11.98 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.006926, allocations: 0 / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.006928, allocations: 7.938 kB / 272.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.955e-05/0.006988, allocations: 82.89 kB / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.006999, allocations: 0 / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.007017, allocations: 8 kB / 272.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.007042, allocations: 3.984 kB / 272.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.007054, allocations: 4 kB / 272.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.007089, allocations: 39.59 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007089, allocations: 0 / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.007204, allocations: 23.94 kB / 272.5 MB, free: 0.9883 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.001077/0.008281, allocations: 0.5546 MB / 273 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.008367, allocations: 20.86 kB / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.008374, allocations: 4 kB / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.008398, allocations: 20.78 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.00852, allocations: 35.94 kB / 273.1 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.008907, allocations: 193.4 kB / 273.3 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.008939, allocations: 63.34 kB / 273.4 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.033e-05/0.00897, allocations: 16.47 kB / 273.4 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.009036, allocations: 63.36 kB / 273.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009036, allocations: 0 / 273.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of Templates: time 0.003696/0.01273, allocations: 1.785 MB / 275.2 MB, free: 14.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.8371192356571555]