Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001668/0.001668, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002625/0.004293, 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.001244/0.001244, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001946/0.003191, 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 1.177/1.177, allocations: 177.2 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1344/1.312, allocations: 53.66 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3503/0.3503, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03219/0.3825, allocations: 12.53 MB / 289.3 MB, free: 8.691 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 1.438 kB / 290.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.901e-05, allocations: 3.438 kB / 290.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003341/0.00338, allocations: 1.891 MB / 292.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.005279, allocations: 1.099 MB / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.005399, allocations: 5.156 kB / 293.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.005856, allocations: 305.4 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.006352, allocations: 255 kB / 294.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.006693, allocations: 115.6 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.007115, allocations: 271.2 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.007168, allocations: 10.45 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.007445, allocations: 212.2 kB / 294.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.007661, allocations: 172.4 kB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.007685, allocations: 8 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.007805, allocations: 55.86 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.00794, allocations: 139.6 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.008015, allocations: 55.69 kB / 295.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.008351, allocations: 271 kB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.775e-05/0.008369, allocations: 0 / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.00837, allocations: 3.938 kB / 295.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.008388, allocations: 0 / 295.5 MB, free: 3.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.0008213/0.009209, allocations: 0.6969 MB / 296.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.009255, allocations: 12.62 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.009323, allocations: 24.91 kB / 296.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.009674, allocations: 309.8 kB / 296.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.009697, allocations: 8.375 kB / 296.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.009708, allocations: 4.375 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.009871, allocations: 91.39 kB / 296.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.00988, allocations: 3.938 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.009888, allocations: 0 / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.009892, allocations: 0 / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.009937, allocations: 29.61 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.01012, allocations: 114.4 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.01026, allocations: 86.7 kB / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.01029, allocations: 21.7 kB / 296.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.01031, allocations: 4 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.01046, allocations: 99.83 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.01046, allocations: 0 / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002031/0.01066, allocations: 111.2 kB / 297.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.01071, allocations: 89.05 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.01116, allocations: 0.6062 MB / 297.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01118, allocations: 29.7 kB / 297.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.01126, allocations: 149.3 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.0113, allocations: 35.72 kB / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.01135, allocations: 25.7 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.0115, allocations: 370.7 kB / 298.4 MB, free: 320 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.01153, allocations: 10.83 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.01157, allocations: 36.92 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.01165, allocations: 80.31 kB / 298.5 MB, free: 164 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01166, allocations: 0 / 298.5 MB, free: 164 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001348/0.01179, allocations: 107.2 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01181, allocations: 8 kB / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01181, allocations: 0 / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.01182, allocations: 4 kB / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.01192, allocations: 23.92 kB / 298.7 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.01192, allocations: 4 kB / 298.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.01198, allocations: 4 kB / 298.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.01205, allocations: 16.05 kB / 298.7 MB, free: 15.99 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 0.0001175/0.01217, allocations: 125.4 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.01221, allocations: 27.97 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.01242, allocations: 117.9 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01242, allocations: 4 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01243, allocations: 3.938 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01243, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.01261, allocations: 169.7 kB / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01262, allocations: 0 / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.01267, allocations: 16.25 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.01273, allocations: 55.64 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01273, allocations: 0 / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01275, allocations: 11.98 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01275, allocations: 0 / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01275, allocations: 3.938 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01291, allocations: 139.1 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.01295, allocations: 3.984 kB / 299.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.01301, allocations: 8 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.01305, allocations: 7.984 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.01306, allocations: 7.938 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.01333, allocations: 323.2 kB / 299.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.01333, allocations: 0 / 299.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.01351, allocations: 51.94 kB / 299.7 MB, free: 14.87 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.001485/0.015, allocations: 0.5473 MB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.01514, allocations: 56.77 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/0.01516, allocations: 4 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.01521, allocations: 40.91 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01549, allocations: 101.9 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.01659, allocations: 0.6692 MB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.01668, allocations: 136.1 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.01675, allocations: 39.44 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.01688, allocations: 99.36 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of SimCode: time 1.904e-06/0.01688, allocations: 0 / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of Templates: time 0.008079/0.02496, allocations: 4.357 MB / 305.8 MB, free: 9.164 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.365995118394494]