Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.0007723/0.0007723, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001831, 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.0006962/0.0006962, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008904/0.001587, 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.8573/0.8573, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1441/1.001, allocations: 49.51 MB / 220.7 MB, free: 1.363 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.1412/0.1412, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02146/0.1626, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.892e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002052/0.002071, allocations: 1.77 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.003698, allocations: 1.568 MB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.003774, allocations: 4 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.003981, allocations: 39.7 kB / 270.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.004198, allocations: 63.62 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.004422, allocations: 87.59 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004582, allocations: 103.6 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.004675, allocations: 12.23 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.004805, allocations: 71.81 kB / 271.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.004907, allocations: 23.92 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.004925, allocations: 4 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.005057, allocations: 67.84 kB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.005099, allocations: 11.94 kB / 271.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.00513, allocations: 15.94 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005313, allocations: 107.6 kB / 271.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.005323, allocations: 0 / 271.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005324, allocations: 0 / 271.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.005335, allocations: 4 kB / 271.4 MB, free: 14.5 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.0005388/0.005874, allocations: 327.9 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005912, allocations: 8.031 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.005958, allocations: 4.938 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.006179, allocations: 137.6 kB / 271.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.006203, allocations: 4.375 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.006232, allocations: 8.297 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.006402, allocations: 109.1 kB / 272 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006412, allocations: 3.938 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.006422, allocations: 4 kB / 272 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006428, allocations: 7.984 kB / 272 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/0.006456, allocations: 10.81 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.006679, allocations: 162 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.00678, allocations: 89.27 kB / 272.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.006802, allocations: 12.8 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.006814, allocations: 0 / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.006917, allocations: 70.16 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.006918, allocations: 0 / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003095/0.007227, allocations: 125.4 kB / 272.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.007251, allocations: 55.41 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.007348, allocations: 156.2 kB / 272.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.007363, allocations: 25.7 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.00741, allocations: 88.12 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.007441, allocations: 27.78 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.007475, allocations: 25.7 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.007557, allocations: 322.8 kB / 273.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.007575, allocations: 6.828 kB / 273.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.007659, allocations: 64.19 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.007703, allocations: 40.56 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007705, allocations: 0 / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.635e-05/0.007791, allocations: 72.36 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.007804, allocations: 8 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007809, allocations: 0 / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.007821, allocations: 0 / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.007892, allocations: 23.98 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007895, allocations: 0 / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.007925, allocations: 4 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.007931, allocations: 0 / 273.4 MB, free: 12.34 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.852e-05/0.007999, allocations: 128.6 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.008012, allocations: 7.938 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.00812, allocations: 74.56 kB / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.008123, allocations: 4 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.008124, allocations: 3.938 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008127, allocations: 0 / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.008357, allocations: 291.4 kB / 273.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008358, allocations: 0 / 273.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.008391, allocations: 19.92 kB / 273.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.0084, allocations: 11.98 kB / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008403, allocations: 0 / 273.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.00841, allocations: 4 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.008413, allocations: 4.375 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008414, allocations: 0 / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.00861, allocations: 215 kB / 274.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.008629, allocations: 11.98 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.008676, allocations: 4 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.008706, allocations: 7.984 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.008717, allocations: 0 / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.008754, allocations: 35.67 kB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008754, allocations: 4 kB / 274.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.008926, allocations: 31.92 kB / 274.2 MB, free: 11.43 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.001433/0.01036, allocations: 0.6992 MB / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.01047, allocations: 48.7 kB / 275 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.01048, allocations: 0 / 275 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.01052, allocations: 24.84 kB / 275 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.01074, allocations: 180.5 kB / 275.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.01117, allocations: 214.2 kB / 275.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01121, allocations: 71.19 kB / 275.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.01126, allocations: 20.88 kB / 275.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.01134, allocations: 79.34 kB / 275.5 MB, free: 10 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01134, allocations: 0 / 275.5 MB, free: 10 MB / 282.7 MB Notification: Performance of Templates: time 0.003821/0.01516, allocations: 2.34 MB / 277.9 MB, free: 7.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.7358508054167032]