Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009152/0.0009152, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004088/0.005004, 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.0009086/0.0009086, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002153, 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.052/1.052, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09185/1.144, allocations: 53.66 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.2703/0.2703, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0329/0.3032, 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.038e-05, allocations: 4.531 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002987/0.003008, allocations: 1.817 MB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.00544, allocations: 1.772 MB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.005521, allocations: 0 / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.005725, allocations: 39.7 kB / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.006029, allocations: 104.4 kB / 296.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.006237, allocations: 79.55 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.006422, allocations: 107.7 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.006514, allocations: 15.97 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.006671, allocations: 83.75 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.006799, allocations: 35.89 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.006819, allocations: 8 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.007036, allocations: 103.8 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.00709, allocations: 19.88 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.007124, allocations: 12 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.007401, allocations: 151.4 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.007415, allocations: 4 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007416, allocations: 0 / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.007426, allocations: 0 / 297.3 MB, free: 1.754 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.0005348/0.007961, allocations: 356.9 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.007996, allocations: 8.031 kB / 297.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.008039, allocations: 8.922 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.008228, allocations: 138.2 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.008245, allocations: 4.375 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.008268, allocations: 4.375 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.008431, allocations: 116.5 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.00844, allocations: 0 / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.008448, allocations: 4 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.008455, allocations: 0 / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.114e-05/0.008486, allocations: 10.83 kB / 297.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.008745, allocations: 166 kB / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.008859, allocations: 97.27 kB / 298.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.008886, allocations: 16.78 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.008898, allocations: 4 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.009006, allocations: 58.22 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.009007, allocations: 0 / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003502/0.009357, allocations: 121.5 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.009385, allocations: 55.41 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.009513, allocations: 156.2 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.009535, allocations: 33.7 kB / 298.6 MB, free: 276 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.009571, allocations: 88.12 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.009606, allocations: 27.77 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.009644, allocations: 17.72 kB / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.009752, allocations: 326.8 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.009776, allocations: 14.81 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.009821, allocations: 56.22 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.009882, allocations: 52.47 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.009883, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001002/0.009983, allocations: 72.5 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.009996, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01, allocations: 7.938 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01001, allocations: 0 / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.01009, allocations: 16 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.0101, allocations: 3.984 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.01014, allocations: 7.953 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.01015, allocations: 4 kB / 299.3 MB, free: 15.54 MB / 298.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 7.71e-05/0.01023, allocations: 124.6 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.01025, allocations: 11.98 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.01037, allocations: 66.45 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01037, allocations: 4 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01037, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01038, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.01066, allocations: 299.4 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01066, allocations: 0 / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.0107, allocations: 15.94 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.01072, allocations: 11.94 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01072, allocations: 4.031 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01073, allocations: 8 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01073, allocations: 0 / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01073, allocations: 0 / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.01087, allocations: 211 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.01089, allocations: 4.375 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.01096, allocations: 7.984 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.01099, allocations: 4 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.011, allocations: 11.98 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.01106, allocations: 43.52 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01106, allocations: 4 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.01134, allocations: 51.8 kB / 300.1 MB, free: 14.6 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.003546/0.01489, allocations: 0.7837 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.01507, allocations: 44.78 kB / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.01508, allocations: 0 / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.01514, allocations: 36.78 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.01554, allocations: 180.4 kB / 301.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.0162, allocations: 203.5 kB / 301.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01625, allocations: 63.34 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.01633, allocations: 29.55 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.01645, allocations: 71.36 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01645, allocations: 0 / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.006288/0.02273, allocations: 2.806 MB / 304.4 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.9125856375321746]