Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001165/0.001165, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002028/0.003194, allocations: 447.8 kB / 10.35 MB, free: 348 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.001187/0.001187, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002557, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9972/0.9972, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1884/1.186, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1389/0.1389, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03471/0.1736, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.245e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002505/0.002528, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.006612, allocations: 0.8036 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.006681, allocations: 3.938 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.006885, allocations: 39.72 kB / 269.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.007042, allocations: 59.69 kB / 270 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.007258, allocations: 83.7 kB / 270.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.007413, allocations: 103.6 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.007488, allocations: 8.234 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.007611, allocations: 71.83 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.007683, allocations: 19.91 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.007698, allocations: 4 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.007781, allocations: 47.86 kB / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.007826, allocations: 23.92 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.007862, allocations: 15.94 kB / 270.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.008023, allocations: 91.61 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.008039, allocations: 4 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00804, allocations: 0 / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.008054, allocations: 4 kB / 270.4 MB, free: 3.277 MB / 266.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.0004053/0.008459, allocations: 319.9 kB / 270.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.008487, allocations: 12.03 kB / 270.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.008517, allocations: 8.922 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.008665, allocations: 149.5 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.008679, allocations: 4.375 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.008693, allocations: 384 / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.008797, allocations: 65.77 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.008805, allocations: 3.938 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.008812, allocations: 3.984 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.008817, allocations: 4 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.008843, allocations: 8 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.009036, allocations: 173.9 kB / 271.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.009144, allocations: 85.3 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.009165, allocations: 8.859 kB / 271.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.009175, allocations: 4 kB / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.978e-05/0.009275, allocations: 74.14 kB / 271.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.009276, allocations: 0 / 271.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002855/0.009561, allocations: 113.5 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.009589, allocations: 55.41 kB / 271.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.009707, allocations: 164.3 kB / 271.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.009722, allocations: 25.7 kB / 271.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.009755, allocations: 104 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.009781, allocations: 23.83 kB / 271.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.009818, allocations: 21.72 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.0099, allocations: 326.8 kB / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.00992, allocations: 10.83 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.009947, allocations: 21.7 kB / 272.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.01, allocations: 48.58 kB / 272.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01, allocations: 0 / 272.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.66e-05/0.01009, allocations: 76.38 kB / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.0101, allocations: 4 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.0101, allocations: 3.984 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.01011, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.01018, allocations: 23.92 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.01019, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.01022, allocations: 7.938 kB / 272.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.01022, allocations: 4.031 kB / 272.4 MB, free: 1.176 MB / 266.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.902e-05/0.01029, allocations: 120.7 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.01031, allocations: 11.94 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.01041, allocations: 82.36 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01042, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01042, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01042, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.01065, allocations: 287.4 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01065, allocations: 0 / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.01068, allocations: 11.98 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.01069, allocations: 15.94 kB / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.0107, allocations: 4 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.0107, allocations: 4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01071, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01071, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.01082, allocations: 219 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01084, allocations: 8.359 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.01089, allocations: 3.938 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.01091, allocations: 7.984 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01093, allocations: 8 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.342e-05/0.01097, allocations: 48.53 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01097, allocations: 0 / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.01117, allocations: 23.98 kB / 273.2 MB, free: 280 kB / 266.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.004612/0.01578, allocations: 0.6438 MB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01588, allocations: 36.84 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.01589, allocations: 7.938 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.01592, allocations: 24.83 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.01614, allocations: 51.75 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.01658, allocations: 214.6 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01662, allocations: 67.28 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.01666, allocations: 16.61 kB / 274.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.01673, allocations: 67.36 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01673, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.006924/0.02365, allocations: 2.029 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.840260143391788]