Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.0007903/0.0007903, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001816, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007038/0.0007038, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000953/0.001657, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9927/0.9927, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08891/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.285/0.285, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02346/0.3085, allocations: 13.11 MB / 291.3 MB, free: 7.367 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.166e-05, allocations: 2.312 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002717/0.002739, allocations: 1.887 MB / 294.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004374, allocations: 1.096 MB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.004462, allocations: 4 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.004847, allocations: 299 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.005222, allocations: 255 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.005451, allocations: 111.6 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.005739, allocations: 267.2 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.005784, allocations: 6.469 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.006045, allocations: 224.1 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.006238, allocations: 168.1 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.006257, allocations: 8 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.00636, allocations: 43.92 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.006481, allocations: 132.3 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.006556, allocations: 59.69 kB / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.006848, allocations: 270.9 kB / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.006864, allocations: 0 / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006864, allocations: 4 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.00688, allocations: 0 / 297.5 MB, free: 1.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007541/0.007635, allocations: 0.682 MB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.00767, allocations: 12.62 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.007725, allocations: 24.91 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.008053, allocations: 305.8 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.008072, allocations: 4.375 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.008084, allocations: 4.375 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.008228, allocations: 87.45 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.008237, allocations: 7.938 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.008247, allocations: 4 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.008252, allocations: 3.938 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.008297, allocations: 21.58 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.008453, allocations: 122.3 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.008582, allocations: 74.81 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.008618, allocations: 29.7 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.008629, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.008762, allocations: 103.8 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.008763, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001835/0.008947, allocations: 115.7 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.008988, allocations: 81.05 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.009471, allocations: 0.5907 MB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.009488, allocations: 25.7 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.009562, allocations: 153.3 kB / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.009599, allocations: 23.8 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.009643, allocations: 33.69 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009753, allocations: 366.7 kB / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.009781, allocations: 14.77 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.009822, allocations: 44.91 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.009893, allocations: 63.83 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009896, allocations: 0 / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001308/0.01003, allocations: 103.2 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01004, allocations: 12.06 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01005, allocations: 0 / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.01006, allocations: 3.984 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.01015, allocations: 27.88 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01016, allocations: 7.984 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.01023, allocations: 11.95 kB / 300.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.01024, allocations: 4 kB / 300.6 MB, free: 14.03 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.952e-05/0.01033, allocations: 121.5 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.01036, allocations: 31.95 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.01052, allocations: 122.1 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01052, allocations: 4 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.01053, allocations: 7.922 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01053, allocations: 4 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01069, allocations: 165.7 kB / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01069, allocations: 0 / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.01073, allocations: 15.92 kB / 301.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.01078, allocations: 51.66 kB / 301.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01079, allocations: 4 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.0108, allocations: 7.922 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0108, allocations: 0 / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.0108, allocations: 11.94 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.01093, allocations: 128.2 kB / 301.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.01096, allocations: 3.984 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01101, allocations: 8 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.01104, allocations: 7.984 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.01106, allocations: 7.938 kB / 301.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.01134, allocations: 319.2 kB / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01134, allocations: 0 / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.01155, allocations: 43.94 kB / 301.7 MB, free: 12.93 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001447/0.01299, allocations: 0.5495 MB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.0131, allocations: 60.45 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/0.01312, allocations: 8 kB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.01316, allocations: 40.77 kB / 302.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01342, allocations: 87.81 kB / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.01433, allocations: 0.6422 MB / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.01443, allocations: 132.2 kB / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.01451, allocations: 46.94 kB / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.01464, allocations: 107.3 kB / 303.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01464, allocations: 0 / 303.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Templates: time 0.007371/0.02201, allocations: 4.3 MB / 307.6 MB, free: 7.285 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.005244242027402]