Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001175/0.001175, allocations: 73.11 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.00281, allocations: 453.8 kB / 10.45 MB, free: 244 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.001022/0.001022, allocations: 157.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002411, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08871/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.2606/0.2606, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02554/0.2861, allocations: 13.11 MB / 291.5 MB, free: 7.32 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.265e-05, allocations: 9.141 kB / 292.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002134/0.002147, allocations: 1.803 MB / 294.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.003322, allocations: 1.025 MB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.0034, allocations: 0 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.003605, allocations: 63.56 kB / 295.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.003825, allocations: 99.48 kB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.003992, allocations: 83.53 kB / 296 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.004137, allocations: 103.6 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.004212, allocations: 8 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.004328, allocations: 83.73 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.004399, allocations: 23.92 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.004413, allocations: 4 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.004488, allocations: 47.92 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.004534, allocations: 35.8 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.004563, allocations: 15.94 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.00471, allocations: 111.5 kB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.00472, allocations: 0 / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004721, allocations: 0 / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.00473, allocations: 0 / 296.4 MB, free: 2.578 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.0004447/0.005174, allocations: 364.8 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.005204, allocations: 12.03 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.005235, allocations: 8.938 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005382, allocations: 166.4 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.005396, allocations: 8.375 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.005415, allocations: 4.375 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.005508, allocations: 57.77 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.005517, allocations: 7.922 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.005527, allocations: 4 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005532, allocations: 0 / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.005556, allocations: 11.98 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.005739, allocations: 158 kB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.005832, allocations: 97.28 kB / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.005851, allocations: 20.78 kB / 297.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.005861, allocations: 4 kB / 297.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.786e-05/0.005948, allocations: 62.16 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00595, allocations: 0 / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002878/0.006237, allocations: 121.5 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.006263, allocations: 51.41 kB / 297.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.006383, allocations: 213.2 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.006397, allocations: 29.7 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.006428, allocations: 92.11 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.006452, allocations: 27.84 kB / 297.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.00648, allocations: 25.7 kB / 297.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.00656, allocations: 330.8 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.006577, allocations: 14.77 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.006601, allocations: 21.7 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.00664, allocations: 40.52 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006641, allocations: 0 / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.32e-05/0.006714, allocations: 84.42 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.006724, allocations: 4 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.006728, allocations: 8.031 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.006738, allocations: 0 / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.006797, allocations: 16 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.0068, allocations: 0 / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.006825, allocations: 3.984 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.00683, allocations: 7.938 kB / 298.5 MB, free: 368 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 6.507e-05/0.006896, allocations: 123.6 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.006908, allocations: 11.92 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.52e-05/0.007003, allocations: 79.08 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007005, allocations: 0 / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.007006, allocations: 4 kB / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.00701, allocations: 3.984 kB / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.007236, allocations: 307.4 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007237, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.007266, allocations: 15.98 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.007279, allocations: 12.28 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007282, allocations: 0 / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-06/0.007287, allocations: 0 / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.00729, allocations: 11.94 kB / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00729, allocations: 0 / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007393, allocations: 227 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.007408, allocations: 4 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.007447, allocations: 0 / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.007469, allocations: 7.984 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.007484, allocations: 8 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.388e-05/0.007538, allocations: 75.75 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007538, allocations: 0 / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007685, allocations: 20 kB / 299.4 MB, free: 15.4 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.001335/0.009019, allocations: 0.6393 MB / 300 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.831e-05/0.009108, allocations: 44.77 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.009115, allocations: 4 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.00915, allocations: 32.88 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.009362, allocations: 184.4 kB / 300.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.009782, allocations: 264.1 kB / 300.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.009822, allocations: 71.33 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.009854, allocations: 12.97 kB / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.009917, allocations: 75.34 kB / 300.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009918, allocations: 96 / 300.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003279/0.0132, allocations: 2.065 MB / 302.7 MB, free: 12.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.850018195807934]