Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009622/0.0009622, allocations: 80.8 kB / 21.5 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.001021/0.001021, allocations: 170.3 kB / 24.92 MB, free: 8.766 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2692/0.2692, allocations: 34.26 MB / 296.1 MB, free: 0.6914 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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.65e-05, allocations: 5.719 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001915/0.001932, allocations: 1.708 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003092, allocations: 0.9982 MB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.003154, allocations: 0 / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.003418, allocations: 55.69 kB / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.003667, allocations: 99.47 kB / 328.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.003812, allocations: 79.66 kB / 328.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003943, allocations: 103.6 kB / 328.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.003979, allocations: 8.234 kB / 328.4 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.00406, allocations: 51.88 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.004125, allocations: 23.86 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.004138, allocations: 4 kB / 328.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.004198, allocations: 31.98 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.004243, allocations: 31.84 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.004273, allocations: 16.44 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004416, allocations: 107.5 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004418, allocations: 0 / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004418, allocations: 0 / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.004421, allocations: 4 kB / 328.6 MB, free: 4.324 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003401/0.004762, allocations: 333.5 kB / 329 MB, free: 3.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.004788, allocations: 8.031 kB / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.004818, allocations: 12.92 kB / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.00497, allocations: 162.4 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.004985, allocations: 4.375 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.004996, allocations: 4.359 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.877e-05/0.005085, allocations: 61.72 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005092, allocations: 3.938 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.005099, allocations: 3.984 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005104, allocations: 0 / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.005123, allocations: 8 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.105e-05/0.005204, allocations: 74.69 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.005285, allocations: 41.36 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.005302, allocations: 12.86 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.00531, allocations: 0 / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.159e-05/0.005382, allocations: 66.22 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.005384, allocations: 3.984 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001008/0.005484, allocations: 57.61 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005514, allocations: 63.34 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.005631, allocations: 212 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005642, allocations: 25.7 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.005673, allocations: 104.1 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.005697, allocations: 11.89 kB / 329.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.005722, allocations: 21.72 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.005796, allocations: 326.8 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.00581, allocations: 14.8 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.005826, allocations: 13.72 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.005862, allocations: 39.3 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005863, allocations: 0 / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.47e-05/0.005918, allocations: 64.5 kB / 330.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.005927, allocations: 4 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.00593, allocations: 0 / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005943, allocations: 4 kB / 330.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.005992, allocations: 15.88 kB / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005995, allocations: 0 / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.00602, allocations: 7.984 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.006024, allocations: 0 / 330.4 MB, free: 2.391 MB / 298.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 5.608e-05/0.00608, allocations: 120.7 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.006089, allocations: 7.984 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.332e-05/0.006163, allocations: 66.77 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006164, allocations: 0 / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006166, allocations: 8.25 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.006172, allocations: 3.938 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.309e-05/0.006245, allocations: 85.86 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006247, allocations: 4 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.006261, allocations: 15.98 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006262, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.006265, allocations: 4 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006266, allocations: 0 / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006267, allocations: 0 / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.276e-05/0.006329, allocations: 90.69 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.006343, allocations: 15.91 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.006357, allocations: 4 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.006376, allocations: 7.984 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.006395, allocations: 0 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.006404, allocations: 4 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.006457, allocations: 80.66 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006457, allocations: 0 / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.006571, allocations: 24 kB / 330.9 MB, free: 1.801 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: 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.001072/0.007643, allocations: 0.5033 MB / 331.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.069e-05/0.007713, allocations: 24.84 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.007718, allocations: 4 kB / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.007744, allocations: 20.78 kB / 331.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.007861, allocations: 39.09 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.008139, allocations: 231.2 kB / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.008173, allocations: 71.33 kB / 331.8 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.711e-05/0.0082, allocations: 16.72 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.008255, allocations: 67.36 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008256, allocations: 0 / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of Templates: time 0.003011/0.01127, allocations: 1.801 MB / 333.7 MB, free: 15.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.956514311954379]