Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0007464/0.0007464, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001829, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006997/0.0006997, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001721, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.136, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.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.2496/0.2496, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02712/0.2767, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.754e-05, allocations: 3.719 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003717/0.003744, allocations: 1.807 MB / 294.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.005648, allocations: 1.018 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.005758, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.006104, allocations: 95.52 kB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.006482, allocations: 119.4 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.006753, allocations: 87.55 kB / 296 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.006989, allocations: 119.6 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.007079, allocations: 8 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.007261, allocations: 91.78 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.007401, allocations: 51.88 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.007422, allocations: 4 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.007544, allocations: 47.86 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.007605, allocations: 19.94 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.007647, allocations: 19.88 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.007867, allocations: 95.66 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.007882, allocations: 0 / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007884, allocations: 0 / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.007895, allocations: 4 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005909/0.008486, allocations: 348.9 kB / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.008526, allocations: 15.97 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.008573, allocations: 8.922 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.00879, allocations: 158 kB / 297 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.00881, allocations: 384 / 297 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.008837, allocations: 4.375 kB / 297 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.009034, allocations: 65.75 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.009045, allocations: 3.938 kB / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.009054, allocations: 0 / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.009059, allocations: 8 kB / 297.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.00909, allocations: 4 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.009399, allocations: 170 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.00955, allocations: 85.28 kB / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.009577, allocations: 8.859 kB / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.009597, allocations: 4 kB / 297.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.009739, allocations: 66.14 kB / 297.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.009741, allocations: 0 / 297.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.01013, allocations: 125.5 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.01017, allocations: 51.41 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01034, allocations: 185 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01037, allocations: 37.69 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.01042, allocations: 88.12 kB / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.01046, allocations: 31.77 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.01051, allocations: 17.72 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01063, allocations: 334.8 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.01066, allocations: 6.828 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.01069, allocations: 21.72 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.01075, allocations: 44.5 kB / 298.4 MB, free: 492 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01075, allocations: 3.938 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00012/0.01087, allocations: 72.5 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.01089, allocations: 8 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.0109, allocations: 0 / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01092, allocations: 0 / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.01101, allocations: 23.92 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01101, allocations: 0 / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.01106, allocations: 11.94 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01107, allocations: 4.031 kB / 298.5 MB, free: 360 kB / 282.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 (10): * Single equations (assignments): 10 * 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 9.832e-05/0.01116, allocations: 123.6 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.01119, allocations: 15.92 kB / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01133, allocations: 75.06 kB / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01133, allocations: 0 / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01133, allocations: 0 / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01133, allocations: 0 / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.01166, allocations: 303.4 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01166, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.01171, allocations: 20.02 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.01172, allocations: 7.953 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01173, allocations: 0 / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01174, allocations: 8 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01174, allocations: 0 / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01174, allocations: 0 / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.01191, allocations: 215 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.01194, allocations: 7.984 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.01201, allocations: 4 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.01205, allocations: 7.984 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.01207, allocations: 4.375 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.01215, allocations: 65.55 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01215, allocations: 0 / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.0124, allocations: 23.94 kB / 299.3 MB, free: 15.42 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: 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 (9): * Single equations (assignments): 7 * 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.001988/0.01439, allocations: 0.6517 MB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.0145, allocations: 48.75 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.01452, allocations: 4 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.01456, allocations: 32.78 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01482, allocations: 184.4 kB / 300.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.01534, allocations: 226.4 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.824e-05/0.01539, allocations: 75.52 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.01544, allocations: 12.97 kB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.01551, allocations: 67.36 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01551, allocations: 0 / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Templates: time 0.00416/0.01967, allocations: 2.059 MB / 302.7 MB, free: 12.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9969432577490807]