Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.0007994/0.0007994, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.001965, 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.001107/0.001107, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002551, 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.8484/0.8484, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1428/0.9913, 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.1243/0.1243, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02092/0.1453, allocations: 12.3 MB / 266.1 MB, free: 3.887 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 267.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.292e-05, allocations: 6.25 kB / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003596/0.003629, allocations: 1.774 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.005144, allocations: 0.8114 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.00524, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.005507, allocations: 51.69 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.005714, allocations: 59.64 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.006034, allocations: 91.64 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.006245, allocations: 95.64 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.006348, allocations: 12.22 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.006524, allocations: 67.83 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.006639, allocations: 27.91 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.006664, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.00679, allocations: 43.92 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.006854, allocations: 31.86 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.006895, allocations: 15.94 kB / 270.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.007127, allocations: 91.62 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.007144, allocations: 3.984 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007145, allocations: 0 / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.007158, allocations: 7.938 kB / 270.7 MB, free: 15.27 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.0005559/0.007714, allocations: 339.8 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.007751, allocations: 8.031 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.007799, allocations: 4.938 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.008025, allocations: 157.5 kB / 271.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.008046, allocations: 4.312 kB / 271.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.008073, allocations: 8.375 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.008228, allocations: 61.77 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.008241, allocations: 3.938 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.008251, allocations: 0 / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.00826, allocations: 7.984 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.824e-05/0.008298, allocations: 7.984 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.00862, allocations: 174 kB / 271.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.008766, allocations: 85.23 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.008799, allocations: 16.84 kB / 271.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.008816, allocations: 4 kB / 271.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.008966, allocations: 70.14 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.008968, allocations: 4 kB / 271.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000459/0.009427, allocations: 109.5 kB / 271.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.009467, allocations: 51.41 kB / 271.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.009641, allocations: 192.2 kB / 271.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.00966, allocations: 25.7 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.00971, allocations: 96.11 kB / 272.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.009749, allocations: 27.78 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.009796, allocations: 33.69 kB / 272.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.009905, allocations: 322.8 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.009931, allocations: 10.83 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.009967, allocations: 33.62 kB / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.601e-05/0.01002, allocations: 36.59 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01002, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001208/0.01015, allocations: 76.36 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.01017, allocations: 8 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01017, allocations: 0 / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.01019, allocations: 4.031 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.0103, allocations: 23.98 kB / 272.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01031, allocations: 0 / 272.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.01035, allocations: 0 / 272.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.01036, allocations: 4 kB / 272.6 MB, free: 13.12 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 9.601e-05/0.01046, allocations: 120.6 kB / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01048, allocations: 11.92 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.01065, allocations: 87.19 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01066, allocations: 0 / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01066, allocations: 0 / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01066, allocations: 4 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.01101, allocations: 295.4 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01101, allocations: 0 / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.01106, allocations: 15.98 kB / 273.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01108, allocations: 7.953 kB / 273.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.01109, allocations: 0 / 273.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.0111, allocations: 4 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.0111, allocations: 4 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01111, allocations: 0 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.01129, allocations: 211.4 kB / 273.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01132, allocations: 16.02 kB / 273.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.01139, allocations: 4 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.01142, allocations: 7.984 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01144, allocations: 0 / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.01151, allocations: 60.69 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01151, allocations: 4 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.01175, allocations: 23.94 kB / 273.5 MB, free: 12.2 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.002003/0.01375, allocations: 0.6515 MB / 274.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01387, allocations: 40.78 kB / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.01388, allocations: 0 / 274.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.01394, allocations: 28.8 kB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.01428, allocations: 196.4 kB / 274.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.01496, allocations: 226.6 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01501, allocations: 71.33 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.073e-05/0.01506, allocations: 12.48 kB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.01516, allocations: 71.36 kB / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01516, allocations: 0 / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of Templates: time 0.005414/0.02057, allocations: 2.045 MB / 276.8 MB, free: 8.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.7154906718060374]