Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.0008436/0.0008436, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002023, allocations: 452 kB / 10.43 MB, free: 264 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.0006955/0.0006955, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009217/0.001617, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9311/0.9311, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1516/1.083, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.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.1315/0.1315, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02386/0.1554, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 267.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.844e-05, allocations: 6.25 kB / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003584/0.003613, allocations: 1.844 MB / 269.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.006054, allocations: 1.642 MB / 271 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.006178, allocations: 0 / 271 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.006523, allocations: 63.5 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.006826, allocations: 87.5 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.007201, allocations: 143.5 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.0075, allocations: 187.3 kB / 271.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.007556, allocations: 10.47 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.007827, allocations: 140.4 kB / 271.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.008017, allocations: 59.75 kB / 271.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.00805, allocations: 8 kB / 271.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.008239, allocations: 63.8 kB / 271.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.008311, allocations: 27.92 kB / 271.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.008365, allocations: 27.88 kB / 271.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.008648, allocations: 139.4 kB / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.576e-05/0.008664, allocations: 0 / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.008666, allocations: 0 / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.008679, allocations: 0 / 271.9 MB, free: 14.03 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.0006197/0.009299, allocations: 399.5 kB / 272.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.00934, allocations: 12.03 kB / 272.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.009396, allocations: 12.92 kB / 272.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.009668, allocations: 169.4 kB / 272.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.00969, allocations: 4.375 kB / 272.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.009711, allocations: 8.359 kB / 272.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.009933, allocations: 160.5 kB / 272.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.009943, allocations: 3.938 kB / 272.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.009955, allocations: 7.922 kB / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.009963, allocations: 4 kB / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.01001, allocations: 25.58 kB / 272.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.01015, allocations: 82.38 kB / 272.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.01029, allocations: 74.86 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.01034, allocations: 25.66 kB / 272.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.01035, allocations: 0 / 272.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.01053, allocations: 103.9 kB / 273 MB, free: 12.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.01053, allocations: 0 / 273 MB, free: 12.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002289/0.01076, allocations: 95.62 kB / 273.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.01081, allocations: 88.98 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.01102, allocations: 209 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.01104, allocations: 33.69 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.01109, allocations: 92.12 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.01114, allocations: 23.83 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.01119, allocations: 33.69 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01131, allocations: 326.8 kB / 273.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.01135, allocations: 18.81 kB / 273.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.01143, allocations: 100.5 kB / 274 MB, free: 11.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.01151, allocations: 71.83 kB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01152, allocations: 0 / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000158/0.01168, allocations: 91.25 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01169, allocations: 4 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.0117, allocations: 0 / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.01172, allocations: 12.08 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01184, allocations: 27.88 kB / 274.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01185, allocations: 3.984 kB / 274.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.01191, allocations: 15.89 kB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.01192, allocations: 4 kB / 274.2 MB, free: 11.45 MB / 282.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 9.848e-05/0.01202, allocations: 124.9 kB / 274.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.01205, allocations: 15.92 kB / 274.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.01223, allocations: 98.78 kB / 274.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01224, allocations: 4 kB / 274.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01224, allocations: 3.938 kB / 274.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.01225, allocations: 4 kB / 274.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.01238, allocations: 93.84 kB / 274.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.01239, allocations: 7.938 kB / 274.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.01244, allocations: 11.94 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.01248, allocations: 19.83 kB / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01248, allocations: 4 kB / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01249, allocations: 4 kB / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.0125, allocations: 0 / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.0125, allocations: 7.938 kB / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.01264, allocations: 118.3 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.01268, allocations: 15.98 kB / 274.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.01274, allocations: 4 kB / 274.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.01277, allocations: 11.92 kB / 274.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.01279, allocations: 11.94 kB / 274.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.101e-05/0.01288, allocations: 65.86 kB / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01288, allocations: 0 / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01311, allocations: 39.94 kB / 274.8 MB, free: 10.74 MB / 282.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001805/0.01492, allocations: 0.6207 MB / 275.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01507, allocations: 60.75 kB / 275.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.01509, allocations: 4 kB / 275.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.01515, allocations: 36.78 kB / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.01556, allocations: 352.7 kB / 275.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.01624, allocations: 262.8 kB / 276.2 MB, free: 9.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.494e-05/0.01629, allocations: 71.98 kB / 276.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.422e-05/0.01638, allocations: 29.45 kB / 276.3 MB, free: 9.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.01655, allocations: 95.28 kB / 276.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01655, allocations: 0 / 276.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Templates: time 0.006956/0.0235, allocations: 3.24 MB / 279.6 MB, free: 5.848 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.891773666255176]