Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.0009195/0.0009195, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002261, 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.0007952/0.0007952, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001902, 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.8546/0.8546, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1529/1.008, allocations: 49.51 MB / 220.7 MB, free: 1.352 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.1314/0.1314, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02087/0.1522, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.909e-06/4.909e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.773e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002281/0.002309, allocations: 1.778 MB / 269.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003339, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.003415, allocations: 0 / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.003645, allocations: 55.64 kB / 270.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003782, allocations: 47.7 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.003972, allocations: 95.62 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.004121, allocations: 95.59 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.004204, allocations: 8.219 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.004318, allocations: 67.89 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.004395, allocations: 27.91 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.004413, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.004487, allocations: 47.81 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.004532, allocations: 23.92 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.004562, allocations: 15.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004725, allocations: 91.66 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.004736, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004737, allocations: 4 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.004747, allocations: 0 / 270.6 MB, free: 15.28 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.0004465/0.005193, allocations: 339.8 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.005232, allocations: 8.031 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.005271, allocations: 4.938 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.005437, allocations: 154.2 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.005453, allocations: 4.375 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.005474, allocations: 4.375 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.005605, allocations: 61.77 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.005618, allocations: 3.938 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.005625, allocations: 0 / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.005633, allocations: 7.984 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.005659, allocations: 11.92 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.00588, allocations: 165.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.881e-05/0.005979, allocations: 93.33 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.005999, allocations: 12.86 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.006012, allocations: 0 / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.006124, allocations: 74.09 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.006125, allocations: 0 / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003436/0.006469, allocations: 117.5 kB / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.006507, allocations: 55.41 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.006624, allocations: 173 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.006643, allocations: 25.7 kB / 271.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.006683, allocations: 96.11 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.006718, allocations: 27.77 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.006748, allocations: 25.72 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006852, allocations: 326.8 kB / 272.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.006876, allocations: 10.83 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.006902, allocations: 21.7 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.006949, allocations: 44.45 kB / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006951, allocations: 0 / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.976e-05/0.007041, allocations: 72.44 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.007056, allocations: 4 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007062, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007074, allocations: 4.031 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.007153, allocations: 23.92 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.007158, allocations: 0 / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.007189, allocations: 7.938 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007195, allocations: 0 / 272.6 MB, free: 13.16 MB / 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 (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.023e-05/0.007265, allocations: 120.7 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.007279, allocations: 11.94 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.007392, allocations: 83.19 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007395, allocations: 0 / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.007397, allocations: 0 / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.007401, allocations: 4 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.007646, allocations: 299.4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007648, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.007681, allocations: 15.98 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.007692, allocations: 7.953 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007694, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.0077, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007702, allocations: 4 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007703, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.007821, allocations: 223.4 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.007837, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.007881, allocations: 8 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.007911, allocations: 7.984 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.007925, allocations: 4 kB / 273.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.007968, allocations: 52.28 kB / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007968, allocations: 0 / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.00811, allocations: 23.94 kB / 273.4 MB, free: 12.25 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: 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.001309/0.009419, allocations: 0.64 MB / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.009529, allocations: 40.78 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.00954, allocations: 4 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.009584, allocations: 32.78 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.009874, allocations: 184.5 kB / 274.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.01044, allocations: 218.3 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01049, allocations: 67.34 kB / 274.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.01053, allocations: 12.95 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.0106, allocations: 67.36 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0106, allocations: 0 / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Templates: time 0.003494/0.0141, allocations: 2.04 MB / 276.7 MB, free: 8.848 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.6676107412204146]