Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.0008836/0.0008836, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001926, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007602/0.0007602, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.001656, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9852/0.9852, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2003/1.186, allocations: 49.49 MB / 220.5 MB, free: 5.281 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.1358/0.1358, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02445/0.1602, allocations: 12.3 MB / 265.9 MB, free: 7.836 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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.13e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003704/0.003735, allocations: 1.77 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005174, allocations: 0.8075 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.005266, allocations: 3.938 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.005576, allocations: 43.75 kB / 269.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.005761, allocations: 55.7 kB / 270 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.006026, allocations: 91.69 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.006229, allocations: 95.59 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.006336, allocations: 16.2 kB / 270.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.00649, allocations: 67.84 kB / 270.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.006592, allocations: 31.89 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.006613, allocations: 4 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.00671, allocations: 35.92 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.006762, allocations: 23.88 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.006811, allocations: 15.94 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.007014, allocations: 87.67 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.742e-05/0.007031, allocations: 8 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.007033, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.007051, allocations: 0 / 270.4 MB, free: 3.277 MB / 266.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.0006027/0.007654, allocations: 327.8 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.007695, allocations: 12.03 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.00774, allocations: 4.938 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.007962, allocations: 145.5 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.007985, allocations: 8.359 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.008006, allocations: 384 / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.008158, allocations: 65.77 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.00817, allocations: 11.88 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.00818, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.008186, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.008228, allocations: 8 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.008502, allocations: 173.9 kB / 271.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.008627, allocations: 85.3 kB / 271.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.008661, allocations: 16.84 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.008676, allocations: 0 / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.008826, allocations: 70.16 kB / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.008828, allocations: 4 kB / 271.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003817/0.009209, allocations: 109.5 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.00925, allocations: 59.34 kB / 271.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.009411, allocations: 164.3 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.00943, allocations: 25.7 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.009482, allocations: 96.08 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.00952, allocations: 27.83 kB / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.009569, allocations: 17.72 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.009695, allocations: 326.8 kB / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.009725, allocations: 14.81 kB / 272.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.009759, allocations: 21.72 kB / 272.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.009828, allocations: 52.5 kB / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.009829, allocations: 0 / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.00995, allocations: 72.44 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.00997, allocations: 4 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.009978, allocations: 3.984 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.009992, allocations: 0 / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.0101, allocations: 19.94 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01011, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.01015, allocations: 15.95 kB / 272.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-06/0.01016, allocations: 0 / 272.4 MB, free: 1.172 MB / 266.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 0.0001047/0.01027, allocations: 116.7 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.01029, allocations: 15.92 kB / 272.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.01045, allocations: 74.39 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01046, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01046, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01046, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.01078, allocations: 299.3 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01078, allocations: 4.031 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.01082, allocations: 8 kB / 272.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01084, allocations: 11.91 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.01084, allocations: 4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01085, allocations: 4 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01085, allocations: 0 / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01086, allocations: 3.984 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.01101, allocations: 215 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.01103, allocations: 4.375 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.01109, allocations: 4 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.01113, allocations: 3.984 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.01114, allocations: 12 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.0112, allocations: 48.52 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0112, allocations: 0 / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01141, allocations: 20 kB / 273.2 MB, free: 284 kB / 266.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.001762/0.01317, allocations: 0.6477 MB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01329, allocations: 44.77 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.0133, allocations: 4 kB / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.01333, allocations: 16.86 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.0136, allocations: 47.75 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.01417, allocations: 222.7 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.76e-05/0.01422, allocations: 71.33 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.01425, allocations: 8.5 kB / 274.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.01433, allocations: 67.36 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01433, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.003879/0.01821, allocations: 2.029 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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: 2.8403889881446958]