Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009531/0.0009531, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001103/0.001103, allocations: 174.3 kB / 24.92 MB, free: 8.762 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2858/0.2858, allocations: 34.26 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 325.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.834e-05, allocations: 2.312 kB / 325.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002699/0.002727, allocations: 1.883 MB / 327.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.004927, allocations: 1.813 MB / 329.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.005027, allocations: 7.938 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.005403, allocations: 51.56 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.005881, allocations: 143.2 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.006133, allocations: 103.6 kB / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.00641, allocations: 211.3 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.006467, allocations: 14.45 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.006612, allocations: 111.6 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.006768, allocations: 59.8 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.006793, allocations: 12 kB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.007015, allocations: 107.9 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.007079, allocations: 35.84 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.007137, allocations: 44.34 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.007448, allocations: 207.2 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.007453, allocations: 0 / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.007455, allocations: 0 / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007461, allocations: 4 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004643/0.007925, allocations: 404.9 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.007958, allocations: 8.031 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.008003, allocations: 16.92 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.008223, allocations: 173.4 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.008239, allocations: 384 / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.008252, allocations: 8.375 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.008423, allocations: 160.5 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.008433, allocations: 7.875 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.008443, allocations: 7.984 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.008447, allocations: 0 / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.00848, allocations: 17.66 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.008588, allocations: 82.38 kB / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.008705, allocations: 78.78 kB / 331.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.008736, allocations: 29.7 kB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.008749, allocations: 0 / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.008882, allocations: 107.8 kB / 331.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.008883, allocations: 0 / 331.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001726/0.009056, allocations: 95.25 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.009126, allocations: 136.4 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.009298, allocations: 217.1 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.009318, allocations: 29.7 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.009357, allocations: 100.6 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.009398, allocations: 27.78 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.00944, allocations: 33.7 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.009523, allocations: 338.8 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.009548, allocations: 14.83 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.009606, allocations: 96.55 kB / 332.3 MB, free: 396 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.009674, allocations: 72.31 kB / 332.4 MB, free: 308 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009677, allocations: 4 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001073/0.009784, allocations: 95.19 kB / 332.5 MB, free: 200 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.009798, allocations: 8 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009803, allocations: 0 / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.009817, allocations: 8.078 kB / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.009899, allocations: 23.94 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.009902, allocations: 0 / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.00995, allocations: 15.88 kB / 332.5 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.009958, allocations: 4 kB / 332.5 MB, free: 140 kB / 298.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 7.385e-05/0.01003, allocations: 120.7 kB / 332.6 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01007, allocations: 16.03 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.0102, allocations: 90.69 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.0102, allocations: 4 kB / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01021, allocations: 7.938 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01021, allocations: 0 / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.786e-05/0.01031, allocations: 113.7 kB / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01031, allocations: 0 / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.01034, allocations: 11.98 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01035, allocations: 4.25 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.01035, allocations: 0 / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01036, allocations: 4 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01036, allocations: 4 kB / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.01046, allocations: 123.6 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.01048, allocations: 19.86 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.0105, allocations: 8 kB / 333 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.01054, allocations: 7.984 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.01057, allocations: 7.984 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.01059, allocations: 11.94 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.589e-05/0.01065, allocations: 78.23 kB / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01065, allocations: 0 / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01084, allocations: 55.86 kB / 333.2 MB, free: 15.4 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.00134/0.01218, allocations: 0.6422 MB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01231, allocations: 64.77 kB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.01231, allocations: 0 / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.01235, allocations: 32.83 kB / 333.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.01255, allocations: 55.33 kB / 334 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.01294, allocations: 280.1 kB / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01299, allocations: 75.92 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.01306, allocations: 37.56 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.01317, allocations: 99.33 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01317, allocations: 0 / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of Templates: time 0.005526/0.0187, allocations: 3.732 MB / 338.2 MB, free: 10.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.21319492906332]