Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001003/0.001003, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009716/0.0009716, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.905/0.905, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1627/0.1627, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.826e-05, allocations: 9.344 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002821/0.00285, allocations: 1.695 MB / 349.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.004021, allocations: 0.7804 MB / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.004106, allocations: 0 / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.004477, allocations: 59.69 kB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.004739, allocations: 59.69 kB / 350.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.004982, allocations: 79.7 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.00515, allocations: 95.69 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.00519, allocations: 4 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.005284, allocations: 47.78 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.00536, allocations: 27.91 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.005381, allocations: 8 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.00546, allocations: 35.92 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.005518, allocations: 19.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.005561, allocations: 23.86 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.005757, allocations: 95.61 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.00576, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005761, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005766, allocations: 0 / 350.8 MB, free: 6.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000425/0.006191, allocations: 467.8 kB / 351.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.006231, allocations: 8.031 kB / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.006284, allocations: 24.83 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006466, allocations: 148.4 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.00649, allocations: 4.375 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.006506, allocations: 4.375 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.006658, allocations: 54.94 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.006669, allocations: 11.81 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00668, allocations: 0 / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.006688, allocations: 4 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.006725, allocations: 7.984 kB / 351.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.006885, allocations: 156.6 kB / 351.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.006999, allocations: 51.11 kB / 351.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.007031, allocations: 11.69 kB / 351.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.007047, allocations: 0 / 351.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.007154, allocations: 68.98 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.007155, allocations: 0 / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002003/0.007355, allocations: 89.52 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.007377, allocations: 55.41 kB / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.007525, allocations: 269.4 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.007536, allocations: 29.7 kB / 352.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.007585, allocations: 170.8 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.007617, allocations: 15.84 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.007652, allocations: 31.36 kB / 352.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.007708, allocations: 0.4962 MB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.007734, allocations: 11.94 kB / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.007765, allocations: 27.36 kB / 353 MB, free: 3.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.007815, allocations: 35.62 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.007819, allocations: 4 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.007924, allocations: 77.53 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.007937, allocations: 8.031 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.007943, allocations: 3.938 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.007961, allocations: 4 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.008034, allocations: 11.98 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.00804, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.008077, allocations: 4 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.008083, allocations: 0 / 353.1 MB, free: 3.766 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 (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.538e-05/0.008138, allocations: 164.5 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.008159, allocations: 15.91 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.0083, allocations: 90.75 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.008302, allocations: 8 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.008305, allocations: 0 / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008309, allocations: 0 / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.0084, allocations: 152.5 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008402, allocations: 0 / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.008429, allocations: 11.98 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.008431, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.008439, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.008441, allocations: 3.938 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008442, allocations: 0 / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.008554, allocations: 128.3 kB / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.008571, allocations: 11.91 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.008591, allocations: 4.188 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.319e-05/0.008624, allocations: 7.938 kB / 353.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.008656, allocations: 7.984 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.00867, allocations: 4 kB / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.609e-05/0.008756, allocations: 188.4 kB / 353.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008756, allocations: 0 / 353.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.008983, allocations: 19.94 kB / 353.9 MB, free: 2.887 MB / 282.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.0009994/0.009983, allocations: 392.2 kB / 354.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.0101, allocations: 39.61 kB / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.0101, allocations: 0 / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.01013, allocations: 27.67 kB / 354.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.01038, allocations: 29.16 kB / 354.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01076, allocations: 237.7 kB / 354.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.01079, allocations: 71.33 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.01083, allocations: 4.5 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.01086, allocations: 20.48 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01086, allocations: 0 / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Templates: time 0.003979/0.01484, allocations: 1.64 MB / 356.3 MB, free: 0.4922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.316466263961047]