Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001195/0.001195, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002566, 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.001085/0.001085, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002481, 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.8954/0.8954, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1348/1.03, allocations: 49.51 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.1413/0.1413, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02636/0.1676, 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.584e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003193/0.003229, allocations: 1.77 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004508, allocations: 0.8152 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.004589, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.004887, allocations: 95.61 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.005092, allocations: 75.61 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.005353, allocations: 95.62 kB / 270.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.005557, allocations: 103.6 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.005656, allocations: 8.172 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.005823, allocations: 87.8 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005938, allocations: 51.81 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.005959, allocations: 4 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.006061, allocations: 47.86 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.006116, allocations: 19.94 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.006154, allocations: 15.94 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.006353, allocations: 95.66 kB / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.006365, allocations: 0 / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006366, allocations: 0 / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.006376, allocations: 0 / 270.7 MB, free: 15.17 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.0005223/0.006898, allocations: 347.7 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.006936, allocations: 8.031 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.006978, allocations: 12.92 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.007165, allocations: 145.6 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.007185, allocations: 4.375 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.007208, allocations: 384 / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.007345, allocations: 69.77 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.007357, allocations: 3.938 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.007365, allocations: 0 / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.007373, allocations: 3.984 kB / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.007406, allocations: 11.98 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.00767, allocations: 173.9 kB / 271.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.00779, allocations: 85.28 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.007818, allocations: 12.86 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007831, allocations: 0 / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.007953, allocations: 74.16 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.007954, allocations: 0 / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000374/0.008328, allocations: 109.6 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.008363, allocations: 51.41 kB / 271.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.008513, allocations: 184.2 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.008539, allocations: 33.7 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.008584, allocations: 96.06 kB / 272.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.008619, allocations: 23.78 kB / 272.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.008662, allocations: 25.7 kB / 272.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.008766, allocations: 330.7 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.008788, allocations: 10.83 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.008825, allocations: 37.62 kB / 272.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.00888, allocations: 32.53 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008881, allocations: 0 / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.00899, allocations: 72.38 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.009006, allocations: 8 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.00901, allocations: 0 / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.009024, allocations: 0 / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.009111, allocations: 20.02 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.009117, allocations: 7.938 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.009156, allocations: 8 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.009163, allocations: 0 / 272.7 MB, free: 13.03 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 8.188e-05/0.009245, allocations: 116.7 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.009267, allocations: 15.92 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.009401, allocations: 83.19 kB / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.009403, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.009405, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.009408, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.009706, allocations: 295.4 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009708, allocations: 0 / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.009753, allocations: 15.98 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.009769, allocations: 11.91 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009772, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.00978, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.009782, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009783, allocations: 4.375 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.009936, allocations: 219 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.009957, allocations: 3.984 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.01003, allocations: 12.03 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.01006, allocations: 11.98 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01007, allocations: 0 / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.582e-05/0.01014, allocations: 59.64 kB / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01014, allocations: 0 / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.01039, allocations: 23.94 kB / 273.6 MB, free: 12.11 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.001982/0.01237, allocations: 0.6438 MB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01248, allocations: 40.83 kB / 274.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.01249, allocations: 3.984 kB / 274.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.01255, allocations: 28.8 kB / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.01287, allocations: 176.3 kB / 274.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.01345, allocations: 238.3 kB / 274.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.01351, allocations: 71.33 kB / 274.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.01356, allocations: 12.5 kB / 274.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.01365, allocations: 67.36 kB / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01365, allocations: 0 / 274.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of Templates: time 0.004876/0.01853, allocations: 2.045 MB / 276.9 MB, free: 8.691 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.7809401554986835]