Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.000768/0.000768, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001883, 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.0006951/0.0006951, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009526/0.001648, 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.9883/0.9883, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.105, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.243/0.243, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02369/0.2667, allocations: 13.1 MB / 291.5 MB, free: 7.324 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 292.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.717e-05, allocations: 3.859 kB / 292.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002083/0.0021, allocations: 1.982 MB / 294.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003407, allocations: 1.124 MB / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.003492, allocations: 0 / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.003828, allocations: 310.9 kB / 296.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.004161, allocations: 255 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.004401, allocations: 131.4 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.00466, allocations: 259.2 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.004745, allocations: 22.59 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.004961, allocations: 220.8 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005104, allocations: 155.6 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.005123, allocations: 8 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.00522, allocations: 63.86 kB / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.005281, allocations: 59.78 kB / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.005325, allocations: 39.81 kB / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.005527, allocations: 199.1 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.005537, allocations: 4 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005538, allocations: 0 / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.005547, allocations: 4 kB / 297.7 MB, free: 1.262 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005167/0.006064, allocations: 0.5231 MB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.006091, allocations: 8.031 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.006134, allocations: 28.84 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.006322, allocations: 224 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.006339, allocations: 8.375 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.006362, allocations: 12.36 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.006496, allocations: 115.4 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006505, allocations: 3.938 kB / 298.7 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.006512, allocations: 0 / 298.7 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.006519, allocations: 4 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.006559, allocations: 33.58 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.006841, allocations: 304.8 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.007061, allocations: 182.6 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.007094, allocations: 33.91 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.007105, allocations: 4 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.007223, allocations: 112.4 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.007224, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005629/0.007787, allocations: 329.1 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.007819, allocations: 81.11 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.008016, allocations: 361 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008034, allocations: 29.7 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.008082, allocations: 133.5 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.008125, allocations: 75.41 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.008166, allocations: 37.69 kB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.008247, allocations: 350.7 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.008278, allocations: 30.75 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.008321, allocations: 58.02 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.008404, allocations: 103.8 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008405, allocations: 0 / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001246/0.00853, allocations: 143.2 kB / 301 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.008541, allocations: 8 kB / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.008544, allocations: 0 / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.008556, allocations: 0 / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.008645, allocations: 51.91 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.008649, allocations: 4 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.008691, allocations: 11.94 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.0087, allocations: 4.938 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.071e-05/0.008771, allocations: 125.2 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.008795, allocations: 31.97 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.008957, allocations: 165.6 kB / 301.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.008959, allocations: 0 / 301.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.008962, allocations: 4 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008965, allocations: 0 / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.009324, allocations: 0.5633 MB / 302 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009326, allocations: 0 / 302 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.009385, allocations: 48.05 kB / 302 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.009407, allocations: 31.7 kB / 302 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.00941, allocations: 4 kB / 302 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.009421, allocations: 11.97 kB / 302.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009422, allocations: 0 / 302.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.009425, allocations: 4 kB / 302.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.009616, allocations: 419 kB / 302.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.009641, allocations: 15.92 kB / 302.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.009711, allocations: 8 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.009747, allocations: 19.97 kB / 302.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.009761, allocations: 12 kB / 302.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.009865, allocations: 171.5 kB / 302.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009865, allocations: 0 / 302.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.01006, allocations: 47.94 kB / 302.7 MB, free: 11.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001588/0.01165, allocations: 0.7258 MB / 303.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.01179, allocations: 104.7 kB / 303.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.0118, allocations: 12.09 kB / 303.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.01187, allocations: 72.69 kB / 303.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.01223, allocations: 358.7 kB / 304 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.01286, allocations: 0.5233 MB / 304.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.156e-05/0.01292, allocations: 104.3 kB / 304.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.01299, allocations: 33.92 kB / 304.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.01308, allocations: 95.36 kB / 304.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01308, allocations: 0 / 304.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Templates: time 0.005001/0.01808, allocations: 3.715 MB / 308.5 MB, free: 6.543 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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: 3.037963256239891]