Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001082/0.001082, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002666, 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.0009638/0.0009638, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004894/0.005858, 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.887/0.887, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1372/1.024, 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.1212/0.1212, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02174/0.143, 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.916e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002737/0.002756, allocations: 1.77 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.004792, allocations: 1.568 MB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.004873, allocations: 4 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.005102, allocations: 43.7 kB / 270.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.005302, allocations: 59.58 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.005543, allocations: 87.64 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.005733, allocations: 107.6 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.005823, allocations: 12.23 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.005983, allocations: 79.81 kB / 271.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.006107, allocations: 27.91 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.00613, allocations: 7.938 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.006296, allocations: 67.89 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.006346, allocations: 11.94 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.006382, allocations: 19.94 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.006628, allocations: 115.5 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.006642, allocations: 0 / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006643, allocations: 0 / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.006659, allocations: 0 / 271.4 MB, free: 14.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005162/0.007175, allocations: 335.9 kB / 271.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.007213, allocations: 8.031 kB / 271.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.007255, allocations: 4.938 kB / 271.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.00746, allocations: 146.2 kB / 271.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.007478, allocations: 4.375 kB / 271.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.007504, allocations: 4.375 kB / 271.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.007658, allocations: 116.5 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.007668, allocations: 0 / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.007676, allocations: 4 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.007683, allocations: 7.984 kB / 272.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.007718, allocations: 18.81 kB / 272.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.007915, allocations: 169.9 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.008012, allocations: 97.3 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.008034, allocations: 20.78 kB / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.008044, allocations: 0 / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.008149, allocations: 62.22 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00815, allocations: 0 / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002982/0.008449, allocations: 125.5 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.008471, allocations: 59.41 kB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.00856, allocations: 160.2 kB / 272.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.008574, allocations: 25.7 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.008643, allocations: 96.06 kB / 272.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.008671, allocations: 27.78 kB / 272.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.008703, allocations: 29.69 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.008781, allocations: 326.8 kB / 273.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.008798, allocations: 10.83 kB / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.008838, allocations: 64.14 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.008891, allocations: 59.33 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008893, allocations: 4 kB / 273.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.814e-05/0.008981, allocations: 76.44 kB / 273.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008995, allocations: 4 kB / 273.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.008999, allocations: 0 / 273.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.009014, allocations: 4 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.00909, allocations: 19.98 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.009094, allocations: 0 / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.009124, allocations: 0 / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.009133, allocations: 8 kB / 273.5 MB, free: 12.21 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 (11): * Single equations (assignments): 11 * 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.404e-05/0.009227, allocations: 120.6 kB / 273.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.009251, allocations: 11.98 kB / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.009488, allocations: 82.38 kB / 273.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.009491, allocations: 0 / 273.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009492, allocations: 0 / 273.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009497, allocations: 0 / 273.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.009753, allocations: 311.4 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.009755, allocations: 0 / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.009798, allocations: 19.98 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.009809, allocations: 15.86 kB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009812, allocations: 4 kB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.00982, allocations: 4 kB / 274.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009822, allocations: 0 / 274.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.009824, allocations: 3.938 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.00993, allocations: 219.1 kB / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.009945, allocations: 0 / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.009993, allocations: 4 kB / 274.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.01002, allocations: 11.98 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01003, allocations: 3.938 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.01006, allocations: 39.64 kB / 274.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01006, allocations: 11.94 kB / 274.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.01022, allocations: 27.94 kB / 274.4 MB, free: 11.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 (11): * Single equations (assignments): 9 * 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.001368/0.01158, allocations: 0.7142 MB / 275.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01171, allocations: 40.84 kB / 275.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.01171, allocations: 3.938 kB / 275.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.01176, allocations: 32.78 kB / 275.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01201, allocations: 176.7 kB / 275.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.01275, allocations: 226.6 kB / 275.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.01279, allocations: 71.2 kB / 275.6 MB, free: 9.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.01283, allocations: 28.88 kB / 275.7 MB, free: 9.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.01291, allocations: 71.36 kB / 275.7 MB, free: 9.82 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01291, allocations: 0 / 275.7 MB, free: 9.82 MB / 282.7 MB Notification: Performance of Templates: time 0.003677/0.01658, allocations: 2.499 MB / 278.2 MB, free: 7.316 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.722220084629953]