Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.00155/0.00155, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.00206/0.00206, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.756/1.756, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2333/0.2333, allocations: 32.37 MB / 270 MB, free: 14.88 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.737e-05, allocations: 2.312 kB / 347 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002689/0.002726, allocations: 1.688 MB / 348.7 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003975, allocations: 0.7687 MB / 349.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.004059, allocations: 4 kB / 349.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.004456, allocations: 83.64 kB / 349.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.004717, allocations: 83.66 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.004968, allocations: 83.64 kB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.005141, allocations: 115.7 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.774e-05/0.005228, allocations: 4.234 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.005325, allocations: 67.75 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.005415, allocations: 55.86 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.005435, allocations: 4 kB / 350 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.00555, allocations: 43.92 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.005606, allocations: 19.92 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.005655, allocations: 15.94 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.005848, allocations: 123.6 kB / 350.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.005853, allocations: 0 / 350.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005854, allocations: 0 / 350.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.005861, allocations: 0 / 350.2 MB, free: 6.582 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.0004674/0.006328, allocations: 349.5 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.006364, allocations: 8.031 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.006438, allocations: 24.83 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.00669, allocations: 157.5 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.006706, allocations: 384 / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.006733, allocations: 4.375 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.006876, allocations: 58.23 kB / 350.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.006889, allocations: 3.938 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.006899, allocations: 0 / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006904, allocations: 4 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.006977, allocations: 23.86 kB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.007273, allocations: 236.6 kB / 351 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.007444, allocations: 54.67 kB / 351.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.007497, allocations: 24.78 kB / 351.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.007514, allocations: 8 kB / 351.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.007648, allocations: 67.33 kB / 351.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.00765, allocations: 4 kB / 351.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005536/0.008203, allocations: 181.3 kB / 351.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.008229, allocations: 51.41 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.008388, allocations: 215 kB / 351.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.0084, allocations: 33.7 kB / 351.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.008435, allocations: 96.14 kB / 351.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.00846, allocations: 27.78 kB / 351.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.008495, allocations: 25.72 kB / 351.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.008545, allocations: 330.8 kB / 352.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.008599, allocations: 20 kB / 352.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.008655, allocations: 33.7 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.008757, allocations: 69.58 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.008758, allocations: 0 / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.008922, allocations: 113.5 kB / 352.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008936, allocations: 8 kB / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008941, allocations: 0 / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.008962, allocations: 4.031 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.009052, allocations: 19.98 kB / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.009057, allocations: 0 / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.009102, allocations: 384 / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.00911, allocations: 4 kB / 352.4 MB, free: 4.184 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.872e-05/0.009179, allocations: 134.6 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.009204, allocations: 15.91 kB / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.009436, allocations: 127.2 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.009439, allocations: 0 / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009443, allocations: 4 kB / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009446, allocations: 4 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.009777, allocations: 346.9 kB / 353 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.00978, allocations: 4 kB / 353 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.009816, allocations: 15.94 kB / 353 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009817, allocations: 3.938 kB / 353 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.009828, allocations: 3.984 kB / 353 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009829, allocations: 4 kB / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00983, allocations: 0 / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.01002, allocations: 216.2 kB / 353.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01003, allocations: 15.94 kB / 353.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01006, allocations: 8 kB / 353.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.01013, allocations: 3.984 kB / 353.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.01018, allocations: 7.984 kB / 353.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.0102, allocations: 7.984 kB / 353.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.01029, allocations: 171.2 kB / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01029, allocations: 0 / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.01055, allocations: 23.94 kB / 353.5 MB, free: 3.012 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.002065/0.01261, allocations: 494.2 kB / 353.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.01278, allocations: 59.91 kB / 354 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01278, allocations: 3.938 kB / 354 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.01285, allocations: 31.92 kB / 354 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.01323, allocations: 49.31 kB / 354.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.01362, allocations: 244.6 kB / 354.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.276e-05/0.01368, allocations: 92.81 kB / 354.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.01373, allocations: 20.78 kB / 354.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.01377, allocations: 16.5 kB / 354.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01377, allocations: 0 / 354.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of Templates: time 0.004452/0.01822, allocations: 1.842 MB / 356.3 MB, free: 260 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.249989497940987]