Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.0008574/0.0008574, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001983, 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.0007057/0.0007057, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009044/0.00161, 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.8496/0.8496, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/0.9907, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1301/0.1301, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02255/0.1526, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.502e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002055/0.00207, allocations: 1.774 MB / 269.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.003069, allocations: 0.8075 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.003145, allocations: 0 / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.003349, allocations: 51.64 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.003504, allocations: 51.69 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.003718, allocations: 87.66 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.003875, allocations: 107.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.003952, allocations: 4.234 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004072, allocations: 71.88 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.004151, allocations: 23.92 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.00417, allocations: 7.938 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.004259, allocations: 47.86 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.004307, allocations: 15.94 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.004338, allocations: 15.94 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004493, allocations: 91.66 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.004505, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004505, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.004517, allocations: 4 kB / 270.6 MB, free: 15.29 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.0004456/0.004962, allocations: 331.8 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004994, allocations: 8.031 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.005026, allocations: 8.922 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005177, allocations: 149.5 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.005192, allocations: 4.312 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.005212, allocations: 4.375 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.005315, allocations: 61.77 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005324, allocations: 3.938 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005331, allocations: 0 / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.005337, allocations: 7.984 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.005361, allocations: 11.98 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.005563, allocations: 173.8 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.005655, allocations: 85.36 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.005675, allocations: 12.86 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.005686, allocations: 0 / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.005801, allocations: 74.14 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005802, allocations: 0 / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003081/0.00611, allocations: 117.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.00614, allocations: 55.34 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.315e-05/0.006233, allocations: 168.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.006246, allocations: 25.7 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.006275, allocations: 92.11 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.006303, allocations: 31.78 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.006331, allocations: 21.72 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.006413, allocations: 326.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.006427, allocations: 6.828 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.00645, allocations: 25.7 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.006491, allocations: 44.45 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.006492, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.666e-05/0.006559, allocations: 68.44 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006572, allocations: 8 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.006575, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.006586, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.006653, allocations: 27.92 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.006656, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.006683, allocations: 3.938 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.006688, allocations: 8.031 kB / 272.6 MB, free: 13.18 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 6.726e-05/0.006755, allocations: 120.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.006766, allocations: 7.938 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.006863, allocations: 82.5 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006866, allocations: 7.938 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006867, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006871, allocations: 0 / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.007074, allocations: 287.4 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007076, allocations: 0 / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.007101, allocations: 15.98 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.007113, allocations: 15.94 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007115, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.007122, allocations: 8 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007123, allocations: 0 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007124, allocations: 384 / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.007225, allocations: 215 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.007242, allocations: 7.984 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.00728, allocations: 8 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.007308, allocations: 7.984 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.007319, allocations: 4 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.007359, allocations: 48.53 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007359, allocations: 0 / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.007504, allocations: 23.98 kB / 273.4 MB, free: 12.28 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.001317/0.008821, allocations: 0.6399 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.008917, allocations: 40.78 kB / 274.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.008925, allocations: 0 / 274.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.008964, allocations: 32.77 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.009194, allocations: 180.3 kB / 274.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.009654, allocations: 218.5 kB / 274.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.009704, allocations: 79.52 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.009742, allocations: 12.95 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.00981, allocations: 63.38 kB / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009811, allocations: 0 / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of Templates: time 0.003628/0.01344, allocations: 2.037 MB / 276.7 MB, free: 8.875 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.6818026676774025]