Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.002066/0.002066, allocations: 83.73 kB / 20.21 MB, free: 4.199 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.00234/0.00234, allocations: 161.7 kB / 23.52 MB, free: 0.8867 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.511/1.511, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.211/0.211, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.909e-05, allocations: 2.312 kB / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003133/0.003172, allocations: 1.843 MB / 348.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004465, allocations: 0.8817 MB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.004552, allocations: 3.938 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.00503, allocations: 263.2 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.00534, allocations: 179.3 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.005659, allocations: 147.6 kB / 350.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.005902, allocations: 251.2 kB / 350.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.006004, allocations: 9.812 kB / 350.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.006178, allocations: 151.6 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.00637, allocations: 187.6 kB / 350.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.006403, allocations: 8 kB / 350.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.954e-05/0.006503, allocations: 47.91 kB / 351 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.006598, allocations: 63.72 kB / 351 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.006664, allocations: 43.78 kB / 351.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.006938, allocations: 219.1 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006941, allocations: 0 / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006943, allocations: 4 kB / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.00695, allocations: 0 / 351.3 MB, free: 5.426 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.0006863/0.007636, allocations: 0.6115 MB / 351.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.007682, allocations: 12.03 kB / 351.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.007759, allocations: 40.73 kB / 351.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.008024, allocations: 216.6 kB / 352.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.008042, allocations: 8.375 kB / 352.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.00807, allocations: 8.375 kB / 352.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.00826, allocations: 101.6 kB / 352.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.008276, allocations: 7.875 kB / 352.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.008288, allocations: 0 / 352.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.008293, allocations: 4 kB / 352.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.0084, allocations: 35.97 kB / 352.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.008915, allocations: 0.5143 MB / 352.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.009163, allocations: 134.2 kB / 353 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.009241, allocations: 43.36 kB / 353 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.009262, allocations: 11.92 kB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.009461, allocations: 124.3 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.009462, allocations: 0 / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008455/0.01031, allocations: 388.5 kB / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.01036, allocations: 77.11 kB / 353.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.01071, allocations: 458.8 kB / 354 MB, free: 2.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.01073, allocations: 33.7 kB / 354.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01085, allocations: 227.1 kB / 354.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.01089, allocations: 47.64 kB / 354.3 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.01095, allocations: 43.36 kB / 354.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01109, allocations: 0.543 MB / 354.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.01118, allocations: 39.92 kB / 355 MB, free: 1.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01128, allocations: 90.66 kB / 355.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.01146, allocations: 130.9 kB / 355.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01146, allocations: 3.938 kB / 355.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002657/0.01172, allocations: 185.4 kB / 355.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.01174, allocations: 8 kB / 355.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01175, allocations: 0 / 355.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01176, allocations: 0 / 355.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.0119, allocations: 40.67 kB / 355.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.0119, allocations: 0 / 355.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.01198, allocations: 4 kB / 355.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01199, allocations: 16.06 kB / 355.4 MB, free: 0.9844 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.284e-05/0.01208, allocations: 176.5 kB / 355.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.01213, allocations: 35.77 kB / 355.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.01249, allocations: 216.3 kB / 355.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01249, allocations: 4 kB / 355.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01249, allocations: 7.984 kB / 355.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.0125, allocations: 0 / 355.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.01325, allocations: 0.7186 MB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.01326, allocations: 4.062 kB / 356.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.01334, allocations: 27.92 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01334, allocations: 0 / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01336, allocations: 8 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01336, allocations: 4 kB / 356.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01337, allocations: 3.938 kB / 356.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.01393, allocations: 492.7 kB / 357.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.01398, allocations: 27.75 kB / 357.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.01403, allocations: 15.92 kB / 357.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01416, allocations: 8 kB / 357.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.01423, allocations: 19.91 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.01425, allocations: 8 kB / 357.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.0146, allocations: 303.1 kB / 357.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0146, allocations: 0 / 357.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.01494, allocations: 47.92 kB / 357.5 MB, free: 14.79 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.003424/0.01837, allocations: 497.2 kB / 358 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.01873, allocations: 131.5 kB / 358.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01873, allocations: 0 / 358.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.01889, allocations: 67.59 kB / 358.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.01949, allocations: 69.58 kB / 358.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.02044, allocations: 489 kB / 358.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.02065, allocations: 165.4 kB / 358.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.226e-05/0.02074, allocations: 34.25 kB / 359 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.02081, allocations: 28.5 kB / 359 MB, free: 13.38 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02081, allocations: 0 / 359 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Templates: time 0.008048/0.02886, allocations: 2.914 MB / 361.9 MB, free: 10.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.167784865945578]