Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.000993/0.000993, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001274/0.001274, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 0.9783/0.9783, allocations: 158.6 MB / 186 MB, free: 2.781 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.2029/0.2029, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.868e-05, allocations: 6.25 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002694/0.002723, allocations: 1.857 MB / 350.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003851, allocations: 0.8854 MB / 351 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.003949, allocations: 3.938 kB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.004384, allocations: 155.5 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.004697, allocations: 135.5 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.005004, allocations: 159.5 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.005227, allocations: 223.3 kB / 351.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.005354, allocations: 13.81 kB / 351.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.005507, allocations: 123.6 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.005657, allocations: 123.7 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.005689, allocations: 8 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.005806, allocations: 39.98 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.005874, allocations: 55.77 kB / 352 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.005925, allocations: 39.84 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.006154, allocations: 163.3 kB / 352.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.006161, allocations: 0 / 352.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.006163, allocations: 0 / 352.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.006168, allocations: 0 / 352.2 MB, free: 5.109 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005595/0.006727, allocations: 0.5459 MB / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.006774, allocations: 15.97 kB / 352.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.006828, allocations: 28.8 kB / 352.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.007029, allocations: 203.6 kB / 353 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.007054, allocations: 8.312 kB / 353 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.007076, allocations: 8.375 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.007255, allocations: 94.28 kB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.00727, allocations: 3.938 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.007278, allocations: 0 / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.007287, allocations: 11.94 kB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.007329, allocations: 23.95 kB / 353.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.007698, allocations: 439.2 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.007838, allocations: 102.3 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.007871, allocations: 31.36 kB / 353.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.007893, allocations: 7.938 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.008032, allocations: 120.2 kB / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.008034, allocations: 0 / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004745/0.008508, allocations: 245.2 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.008542, allocations: 81.11 kB / 354.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.008724, allocations: 330.2 kB / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.008736, allocations: 29.7 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.008807, allocations: 199 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.008851, allocations: 47.62 kB / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.008913, allocations: 43.34 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.009025, allocations: 0.5195 MB / 355.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.009053, allocations: 19.98 kB / 355.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.009099, allocations: 73.67 kB / 355.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.009188, allocations: 90.86 kB / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.00919, allocations: 0 / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001568/0.009346, allocations: 149.3 kB / 355.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.009363, allocations: 4 kB / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.00937, allocations: 4 kB / 355.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.009392, allocations: 4.062 kB / 355.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.009502, allocations: 35.92 kB / 355.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.009507, allocations: 4 kB / 355.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.009557, allocations: 7.984 kB / 355.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.009567, allocations: 8 kB / 355.7 MB, free: 1.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.261e-05/0.00966, allocations: 168.5 kB / 355.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.009689, allocations: 31.81 kB / 355.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.009921, allocations: 171.3 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.009927, allocations: 4 kB / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.009931, allocations: 0.75 kB / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.009937, allocations: 4 kB / 356 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.01036, allocations: 0.5942 MB / 356.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01037, allocations: 0 / 356.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.01042, allocations: 27.94 kB / 356.6 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01043, allocations: 0 / 356.6 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01044, allocations: 11.98 kB / 356.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01044, allocations: 0 / 356.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01044, allocations: 4 kB / 356.7 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.01073, allocations: 454.4 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.01075, allocations: 23.84 kB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01078, allocations: 8 kB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.01086, allocations: 4 kB / 357.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.01091, allocations: 23.84 kB / 357.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.01092, allocations: 4 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.01106, allocations: 230.9 kB / 357.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 357.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.01131, allocations: 43.92 kB / 357.4 MB, free: 15.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001081/0.01239, allocations: 442.2 kB / 357.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.01257, allocations: 94.94 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01257, allocations: 0 / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.01263, allocations: 51.59 kB / 358 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.01301, allocations: 65.45 kB / 358.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.0136, allocations: 400.5 kB / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.877e-05/0.01367, allocations: 88.22 kB / 358.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.01374, allocations: 33.61 kB / 358.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01385, allocations: 114.2 kB / 358.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.01385, allocations: 0 / 358.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Templates: time 0.005665/0.01952, allocations: 3.192 MB / 361.9 MB, free: 11.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.226384843233973]