Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001349/0.001349, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001336/0.001336, allocations: 161.5 kB / 25.61 MB, free: 8.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9651/0.9651, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1728/0.1728, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.897e-05/4.157e-05, allocations: 2.312 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002289/0.002331, allocations: 1.7 MB / 379.1 MB, free: 23.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.00349, allocations: 0.978 MB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.003579, allocations: 4 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.003945, allocations: 83.69 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.004265, allocations: 123.4 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.00444, allocations: 79.67 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.004591, allocations: 111.6 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.004643, allocations: 12.16 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.004735, allocations: 51.89 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.004844, allocations: 51.88 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004862, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.004936, allocations: 35.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.004986, allocations: 27.86 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.005021, allocations: 19.92 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.005192, allocations: 87.61 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005196, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005197, allocations: 8 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.005201, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004602/0.005661, allocations: 455.8 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.005707, allocations: 15.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.005751, allocations: 8.891 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.005934, allocations: 156.4 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.005952, allocations: 8.375 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.00596, allocations: 384 / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.00606, allocations: 58.88 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.006068, allocations: 3.938 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.006075, allocations: 4 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00608, allocations: 0 / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.006103, allocations: 11.98 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.006205, allocations: 113.3 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.00629, allocations: 47.11 kB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.00631, allocations: 15.67 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.006322, allocations: 0 / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.088e-05/0.006413, allocations: 68.98 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.006414, allocations: 4 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001614/0.006575, allocations: 81.53 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.006599, allocations: 59.39 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.006692, allocations: 239.5 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.006702, allocations: 25.7 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.006745, allocations: 166.8 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.006773, allocations: 11.84 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.0068, allocations: 27.38 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.006854, allocations: 0.4962 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.00687, allocations: 7.984 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.006892, allocations: 35.36 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.006928, allocations: 31.36 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00693, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.235e-05/0.007002, allocations: 73.53 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.007014, allocations: 7.938 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007018, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.007029, allocations: 3.938 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.00709, allocations: 8 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.007093, allocations: 0 / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.007121, allocations: 8.031 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.007126, allocations: 3.984 kB / 382.9 MB, free: 19.69 MB / 314.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 (7): * Single equations (assignments): 7 * 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 5.448e-05/0.007181, allocations: 164.5 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.007194, allocations: 15.91 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.987e-05/0.007294, allocations: 78.83 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007297, allocations: 7.922 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.0073, allocations: 384 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007304, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.243e-05/0.007376, allocations: 125.2 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007378, allocations: 4 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.007402, allocations: 8 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.007405, allocations: 4 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.00741, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007411, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007412, allocations: 3.938 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.007486, allocations: 116.3 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007497, allocations: 7.953 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.007512, allocations: 4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.007534, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.007563, allocations: 11.98 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.007574, allocations: 3.938 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.007628, allocations: 181.6 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007628, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001422/0.00777, allocations: 15.94 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.000788/0.008558, allocations: 389 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.008656, allocations: 35.55 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008657, allocations: 0 / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.008684, allocations: 27.67 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.008875, allocations: 26.97 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.009187, allocations: 218.6 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.009213, allocations: 75.19 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.009242, allocations: 16.55 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.009295, allocations: 86.19 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.009297, allocations: 0 / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of Templates: time 0.003487/0.01278, allocations: 1.809 MB / 386.3 MB, free: 16.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.248228096868843]