Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001034/0.001034, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001283/0.001283, allocations: 169 kB / 24.24 MB, free: 312 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 1.242/1.242, allocations: 158.6 MB / 186 MB, free: 2.914 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.1613/0.1613, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.708e-05/3.948e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002489/0.002528, allocations: 1.649 MB / 349.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005956/0.003124, allocations: 355.2 kB / 349.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.003199, allocations: 0 / 349.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.003674, allocations: 459.1 kB / 350.1 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.003963, allocations: 255.4 kB / 350.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.004282, allocations: 151.6 kB / 350.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.004509, allocations: 175.6 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.004667, allocations: 15.98 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.004778, allocations: 115.8 kB / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.004987, allocations: 243.6 kB / 351.1 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.005007, allocations: 4 kB / 351.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.005081, allocations: 27.94 kB / 351.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.00517, allocations: 91.69 kB / 351.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.005214, allocations: 39.75 kB / 351.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005446, allocations: 195.2 kB / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005449, allocations: 0 / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.00545, allocations: 0 / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.005456, allocations: 0 / 351.4 MB, free: 6.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006133/0.00607, allocations: 0.697 MB / 352.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.00612, allocations: 8.031 kB / 352.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.006193, allocations: 48.66 kB / 352.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.006397, allocations: 244.8 kB / 352.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.006411, allocations: 4.359 kB / 352.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.006438, allocations: 12.33 kB / 352.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.006584, allocations: 58.95 kB / 352.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.006596, allocations: 192 / 352.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006608, allocations: 4.125 kB / 352.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.006618, allocations: 0 / 352.5 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.006665, allocations: 11.98 kB / 352.5 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.007088, allocations: 431.6 kB / 352.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.007189, allocations: 39.05 kB / 352.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.00722, allocations: 15.62 kB / 353 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.007242, allocations: 4 kB / 353 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.007268, allocations: 41.39 kB / 353 MB, free: 4.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.007269, allocations: 0 / 353 MB, free: 4.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005055/0.007774, allocations: 208.9 kB / 353.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.007809, allocations: 51.41 kB / 353.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.008159, allocations: 0.6277 MB / 353.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.008171, allocations: 25.7 kB / 353.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.008287, allocations: 282.8 kB / 354.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.008314, allocations: 31.81 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.008347, allocations: 27.31 kB / 354.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.008452, allocations: 0.5547 MB / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.008475, allocations: 12 kB / 354.8 MB, free: 2.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.008494, allocations: 7.984 kB / 354.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/0.008544, allocations: 31.86 kB / 354.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008546, allocations: 0 / 354.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001058/0.008652, allocations: 105.4 kB / 355 MB, free: 2.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.008667, allocations: 7.938 kB / 355 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.008673, allocations: 4 kB / 355 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.008693, allocations: 0 / 355 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.008786, allocations: 19.92 kB / 355 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.008793, allocations: 4 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.008822, allocations: 4 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.008829, allocations: 4 kB / 355 MB, free: 2.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.298e-05/0.008902, allocations: 160.5 kB / 355.2 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.008932, allocations: 43.72 kB / 355.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.009085, allocations: 113.5 kB / 355.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009088, allocations: 0 / 355.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009092, allocations: 0 / 355.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.009097, allocations: 0 / 355.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.009424, allocations: 481.3 kB / 355.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009426, allocations: 4 kB / 355.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.009468, allocations: 19.98 kB / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.009472, allocations: 0 / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.009481, allocations: 0 / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009483, allocations: 0 / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.009484, allocations: 0 / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.009607, allocations: 267.5 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.009627, allocations: 31.72 kB / 356.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.009646, allocations: 4 kB / 356.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.009685, allocations: 4 kB / 356.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.009735, allocations: 11.98 kB / 356.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.009741, allocations: 4 kB / 356.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.009941, allocations: 422.8 kB / 356.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009941, allocations: 0 / 356.5 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00017/0.01011, allocations: 27.94 kB / 356.6 MB, free: 0.5781 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008527/0.01096, allocations: 382.9 kB / 356.9 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01108, allocations: 43.59 kB / 357 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01109, allocations: 0 / 357 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.01111, allocations: 27.81 kB / 357 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01138, allocations: 35.12 kB / 357 MB, free: 184 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.01213, allocations: 0.5902 MB / 357.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.371e-05/0.01222, allocations: 119.2 kB / 357.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.01227, allocations: 19.98 kB / 357.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.01231, allocations: 12.5 kB / 357.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01231, allocations: 0 / 357.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Templates: time 0.004686/0.01699, allocations: 1.518 MB / 359.3 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.713073297869414]