Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001201/0.001201, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 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.002746/0.002746, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 1.094/1.094, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.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.1358/0.1358, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 7.938 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.943e-05, allocations: 8.219 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002276/0.002305, allocations: 1.73 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.00323, allocations: 0.7999 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.003307, allocations: 3.938 kB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.003678, allocations: 99.67 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.003929, allocations: 91.64 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.00416, allocations: 87.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.004342, allocations: 119.6 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.004442, allocations: 8.219 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.004534, allocations: 67.81 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.004631, allocations: 59.86 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.004651, allocations: 8 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.004733, allocations: 47.86 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.004791, allocations: 31.84 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.004839, allocations: 27.92 kB / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.005024, allocations: 115.6 kB / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005027, allocations: 0 / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005028, allocations: 0 / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.005035, allocations: 0 / 351 MB, free: 6.051 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.0004478/0.005482, allocations: 467.7 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.414e-05/0.005557, allocations: 15.97 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.005621, allocations: 16.84 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.005798, allocations: 164.2 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.005818, allocations: 8.375 kB / 351.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.005841, allocations: 4.375 kB / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.005983, allocations: 66.94 kB / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.005995, allocations: 3.938 kB / 351.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006005, allocations: 0 / 351.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.006013, allocations: 0 / 351.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.006063, allocations: 19.97 kB / 351.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.006393, allocations: 303.7 kB / 352.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.006549, allocations: 59.16 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.006595, allocations: 27.61 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.006612, allocations: 11.94 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.00676, allocations: 72.97 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.006762, allocations: 0 / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006468/0.007408, allocations: 181.2 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.007454, allocations: 55.39 kB / 352.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.007649, allocations: 258.8 kB / 352.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.007667, allocations: 25.7 kB / 352.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.007733, allocations: 166.8 kB / 352.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.007776, allocations: 35.84 kB / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.007823, allocations: 27.38 kB / 353 MB, free: 3.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.007898, allocations: 0.504 MB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.007941, allocations: 16 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.007988, allocations: 35.38 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.008071, allocations: 59.23 kB / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.008072, allocations: 0 / 353.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001621/0.008234, allocations: 105.6 kB / 353.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.008253, allocations: 4 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.008262, allocations: 4 kB / 353.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.008279, allocations: 32 / 353.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.008392, allocations: 23.92 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.008398, allocations: 4.469 kB / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.00844, allocations: 0 / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.008451, allocations: 8 kB / 353.7 MB, free: 3.117 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 8.132e-05/0.008533, allocations: 168.5 kB / 353.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.008561, allocations: 15.91 kB / 353.9 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.008803, allocations: 127 kB / 354.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.008809, allocations: 8 kB / 354.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.008813, allocations: 0 / 354.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.008818, allocations: 7.984 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.009206, allocations: 416.9 kB / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.009209, allocations: 0 / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.00927, allocations: 12 kB / 354.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.009276, allocations: 4 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.009288, allocations: 4 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.009292, allocations: 3.984 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009294, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.0095, allocations: 287.2 kB / 354.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.00952, allocations: 15.91 kB / 354.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.009547, allocations: 8.031 kB / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.009619, allocations: 3.984 kB / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.009663, allocations: 8 kB / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.009681, allocations: 7.984 kB / 354.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.009783, allocations: 198.9 kB / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009783, allocations: 0 / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000272/0.01005, allocations: 27.94 kB / 355 MB, free: 1.73 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.001246/0.0113, allocations: 434.2 kB / 355.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.01151, allocations: 71.53 kB / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01151, allocations: 0 / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.01155, allocations: 39.61 kB / 355.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.01184, allocations: 31.97 kB / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.01225, allocations: 265.6 kB / 355.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.01229, allocations: 79.27 kB / 355.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.01233, allocations: 21.08 kB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.01236, allocations: 20.5 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01236, allocations: 0 / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of Templates: time 0.004029/0.01639, allocations: 2.129 MB / 358.1 MB, free: 14.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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: 3.3504976839758456]