Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0007716/0.0007716, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.00192, 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.00074/0.00074, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001707, 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.003/1.003, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09445/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2554/0.2554, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02519/0.2806, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.663e-05, allocations: 4.734 kB / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002822/0.002838, allocations: 1.822 MB / 294.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.00445, allocations: 1.027 MB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.274e-05/0.004533, allocations: 3.938 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.004744, allocations: 47.64 kB / 295.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.005015, allocations: 103.5 kB / 295.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.005217, allocations: 91.53 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.005413, allocations: 123.6 kB / 296.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.005493, allocations: 11.97 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.005654, allocations: 103.7 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.005751, allocations: 39.88 kB / 296.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.005771, allocations: 8 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.005891, allocations: 59.92 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.005946, allocations: 31.8 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.005984, allocations: 19.94 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.006195, allocations: 119.6 kB / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.006208, allocations: 0 / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006209, allocations: 0 / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.006219, allocations: 0 / 296.5 MB, free: 2.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004888/0.006708, allocations: 360.9 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.006742, allocations: 15.97 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.006784, allocations: 12.92 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.006983, allocations: 154.6 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.007001, allocations: 4.375 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.007025, allocations: 4.375 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.007168, allocations: 69.75 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.007182, allocations: 7.938 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.007194, allocations: 7.938 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.007201, allocations: 0 / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.007267, allocations: 19.97 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.007607, allocations: 189.9 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.007842, allocations: 109.3 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.00788, allocations: 20.78 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.007895, allocations: 4 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.008033, allocations: 78.28 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.008035, allocations: 0 / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005793/0.008614, allocations: 202.2 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.008648, allocations: 51.41 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.008793, allocations: 188.8 kB / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.008816, allocations: 29.7 kB / 298 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.008857, allocations: 100.3 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.008899, allocations: 43.61 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.008945, allocations: 21.72 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.009045, allocations: 330.8 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.009077, allocations: 14.83 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.009122, allocations: 41.69 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.00921, allocations: 69.45 kB / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009211, allocations: 4 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001369/0.009348, allocations: 92.42 kB / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.00936, allocations: 4 kB / 298.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.009364, allocations: 0 / 298.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.009376, allocations: 0 / 298.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.009471, allocations: 31.98 kB / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.009474, allocations: 0 / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.009513, allocations: 4 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.009523, allocations: 7.969 kB / 298.8 MB, free: 56 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 (15): * Single equations (assignments): 15 * 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 0.0001027/0.009626, allocations: 126 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.00965, allocations: 20.02 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.009839, allocations: 104 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009843, allocations: 4 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009845, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.00985, allocations: 0 / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.01024, allocations: 352.1 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01024, allocations: 3.938 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.01032, allocations: 31.98 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01034, allocations: 11.91 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.01035, allocations: 4.062 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01036, allocations: 4 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01037, allocations: 3.984 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01037, allocations: 0 / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.01056, allocations: 264.3 kB / 299.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01059, allocations: 8 kB / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.01066, allocations: 0 / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.01071, allocations: 19.97 kB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.01073, allocations: 7.938 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.0108, allocations: 52.7 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0108, allocations: 4 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.01111, allocations: 31.94 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002324/0.01343, allocations: 0.7193 MB / 300.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.01358, allocations: 76.69 kB / 300.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.01359, allocations: 4 kB / 300.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.01367, allocations: 44.97 kB / 300.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.01406, allocations: 187.4 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.0147, allocations: 273.1 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.01476, allocations: 75.69 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.908e-05/0.01483, allocations: 25.47 kB / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.01494, allocations: 79.45 kB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01494, allocations: 0 / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.005121/0.02006, allocations: 2.632 MB / 303.9 MB, free: 11.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.8462070049718022]