Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.0008534/0.0008534, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002031, 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.0007115/0.0007115, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009997/0.001711, 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 0.9726/0.9726, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09022/1.063, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2842/0.2842, allocations: 34.24 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0287/0.3129, allocations: 13.11 MB / 291.5 MB, free: 7.34 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 292.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.772e-05, allocations: 7.953 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003769/0.003797, allocations: 1.809 MB / 294.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.00558, allocations: 1.021 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.005683, allocations: 4 kB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.005916, allocations: 43.66 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.00622, allocations: 95.47 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.006508, allocations: 75.56 kB / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.006731, allocations: 111.6 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.006816, allocations: 12 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.006987, allocations: 79.8 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.007075, allocations: 19.92 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.007095, allocations: 4 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.007223, allocations: 47.86 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.00728, allocations: 23.92 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.00732, allocations: 19.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.007551, allocations: 95.59 kB / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.007564, allocations: 0 / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.007566, allocations: 0 / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.007576, allocations: 0 / 296.4 MB, free: 2.652 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.0005169/0.008093, allocations: 333 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.008128, allocations: 8.031 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.00817, allocations: 8.938 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.008374, allocations: 146.2 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.00839, allocations: 384 / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.00841, allocations: 8.375 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.008552, allocations: 61.77 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.008564, allocations: 3.938 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.008571, allocations: 4 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.008576, allocations: 0 / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.008609, allocations: 11.92 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.008878, allocations: 165.9 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.008998, allocations: 85.36 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.009026, allocations: 16.83 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.009038, allocations: 8 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.009153, allocations: 70.05 kB / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.009154, allocations: 0 / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003798/0.009534, allocations: 113.8 kB / 297.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.009567, allocations: 51.41 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.009707, allocations: 172.9 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.009725, allocations: 25.7 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.009769, allocations: 96.11 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.009807, allocations: 27.75 kB / 297.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.009849, allocations: 29.69 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.009962, allocations: 322.8 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.00999, allocations: 10.83 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.01003, allocations: 25.69 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.01009, allocations: 40.47 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01009, allocations: 0 / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001184/0.01021, allocations: 76.48 kB / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01022, allocations: 7.938 kB / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01023, allocations: 0 / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01024, allocations: 8.031 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.01034, allocations: 19.98 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.01034, allocations: 0 / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.01038, allocations: 4 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01039, allocations: 0 / 298.3 MB, free: 0.5508 MB / 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 8.35e-05/0.01047, allocations: 116.7 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.0105, allocations: 15.92 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.01064, allocations: 79.06 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01065, allocations: 0 / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01065, allocations: 0 / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01065, allocations: 4 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.01094, allocations: 291.4 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01094, allocations: 0 / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.01101, allocations: 12.05 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.01103, allocations: 19.86 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01103, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01104, allocations: 4 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01105, allocations: 4 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01105, allocations: 3.938 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01121, allocations: 207.1 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01123, allocations: 4.031 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.01131, allocations: 11.98 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.01135, allocations: 11.92 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.01136, allocations: 3.938 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.01143, allocations: 49.28 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01143, allocations: 0 / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01168, allocations: 31.92 kB / 299.1 MB, free: 15.63 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.002148/0.01383, allocations: 0.6411 MB / 299.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01396, allocations: 44.81 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.01397, allocations: 0 / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.01403, allocations: 32.72 kB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.01437, allocations: 189.1 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.01498, allocations: 212 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.395e-05/0.01504, allocations: 71.33 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.01509, allocations: 12.97 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.01518, allocations: 67.38 kB / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/0.01518, allocations: 0 / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of Templates: time 0.004934/0.02012, allocations: 2.053 MB / 302.5 MB, free: 12.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.909908451139927]