Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001183/0.001183, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.003095, 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.001162/0.001162, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002715, 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.8575/0.8575, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1664/1.024, 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.1817/0.1817, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03042/0.2121, allocations: 12.3 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.719e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002225/0.002252, allocations: 1.77 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.003118, allocations: 0.8113 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.003185, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.003406, allocations: 111.6 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.003559, allocations: 87.59 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.003753, allocations: 87.62 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.003902, allocations: 115.6 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.003977, allocations: 8.172 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.004095, allocations: 87.81 kB / 270.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.004186, allocations: 59.8 kB / 270.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004203, allocations: 4 kB / 270.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.004285, allocations: 47.92 kB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.004324, allocations: 15.94 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.004353, allocations: 19.92 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.004505, allocations: 103.5 kB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.004517, allocations: 3.984 kB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004518, allocations: 0 / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.004526, allocations: 0 / 270.8 MB, free: 15.12 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.0005114/0.005038, allocations: 351.7 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.005063, allocations: 8.031 kB / 271.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.005095, allocations: 8.922 kB / 271.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005234, allocations: 154.4 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.00525, allocations: 12.36 kB / 271.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.005267, allocations: 8.266 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005367, allocations: 65.77 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005376, allocations: 3.938 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.005383, allocations: 0 / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005387, allocations: 0 / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.00541, allocations: 15.92 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.005583, allocations: 154 kB / 271.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.005664, allocations: 97.27 kB / 271.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.005682, allocations: 16.86 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.005692, allocations: 0 / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/0.005777, allocations: 70.16 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.005778, allocations: 0 / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002829/0.006061, allocations: 117.5 kB / 271.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.006086, allocations: 55.41 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00619, allocations: 196.1 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.006202, allocations: 25.7 kB / 272.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.006229, allocations: 96.11 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.006253, allocations: 31.83 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.006281, allocations: 21.72 kB / 272.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.006349, allocations: 326.8 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.006365, allocations: 10.81 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.006387, allocations: 29.64 kB / 272.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.006426, allocations: 40.58 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006427, allocations: 0 / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.306e-05/0.0065, allocations: 80.36 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.00651, allocations: 4 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.006514, allocations: 4.031 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.006523, allocations: 0 / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.006584, allocations: 16 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006587, allocations: 3.984 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.006616, allocations: 8 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.00662, allocations: 0 / 272.8 MB, free: 12.95 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 5.764e-05/0.006678, allocations: 120.6 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.006691, allocations: 15.92 kB / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.006785, allocations: 79.2 kB / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006787, allocations: 0 / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006788, allocations: 4 kB / 273 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.006793, allocations: 11.92 kB / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.006991, allocations: 287.5 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006992, allocations: 0 / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.007018, allocations: 11.94 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.00703, allocations: 19.83 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.007033, allocations: 4 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.00704, allocations: 4 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007041, allocations: 0 / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007042, allocations: 0 / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.007138, allocations: 219.4 kB / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007152, allocations: 3.984 kB / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.007194, allocations: 12 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.007217, allocations: 7.984 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.007228, allocations: 0 / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.00728, allocations: 72.53 kB / 273.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007281, allocations: 0 / 273.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.007422, allocations: 24 kB / 273.7 MB, free: 12.01 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.001204/0.008626, allocations: 0.6398 MB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.936e-05/0.008725, allocations: 44.72 kB / 274.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.008733, allocations: 4 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.008776, allocations: 36.92 kB / 274.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.009249, allocations: 180.3 kB / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.009683, allocations: 237.9 kB / 274.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.009723, allocations: 79.27 kB / 274.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.009766, allocations: 16.94 kB / 274.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.009832, allocations: 67.36 kB / 275 MB, free: 10.62 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.009833, allocations: 96 / 275 MB, free: 10.62 MB / 282.7 MB Notification: Performance of Templates: time 0.00334/0.01317, allocations: 2.033 MB / 277 MB, free: 8.578 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.652110536582768]