Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 174.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 90.97 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.33/1.33, allocations: 120.5 MB / 457.8 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.062e-05, allocations: 0 / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7071/0.7072, allocations: 82.84 MB / 0.6176 GB, free: 9.281 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.8974, allocations: 125.5 MB / 0.7401 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001454/0.8976, allocations: 51.92 kB / 0.7402 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.9155, allocations: 5.461 MB / 0.7455 GB, free: 6.121 MB / 0.5419 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9155, allocations: 0 / 0.7455 GB, free: 6.121 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.9156, allocations: 4 kB / 0.7455 GB, free: 6.117 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001684/0.9173, allocations: 0.7601 MB / 0.7462 GB, free: 5.309 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.9173, allocations: 8.031 kB / 0.7462 GB, free: 5.301 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.9174, allocations: 39.61 kB / 0.7463 GB, free: 5.262 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.9181, allocations: 299.1 kB / 0.7466 GB, free: 4.926 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.9182, allocations: 24.56 kB / 0.7466 GB, free: 4.902 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.9183, allocations: 43.91 kB / 0.7466 GB, free: 4.859 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.919, allocations: 436.6 kB / 0.747 GB, free: 4.43 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.9191, allocations: 0 / 0.747 GB, free: 4.43 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.9191, allocations: 12 kB / 0.7471 GB, free: 4.418 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9191, allocations: 8 kB / 0.7471 GB, free: 4.41 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.9198, allocations: 362.1 kB / 0.7474 GB, free: 4.059 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.9231, allocations: 2.183 MB / 0.7495 GB, free: 1.602 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.9239, allocations: 472 kB / 0.75 GB, free: 1.133 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.9244, allocations: 314.1 kB / 0.7503 GB, free: 0.8242 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.9245, allocations: 4.438 kB / 0.7503 GB, free: 0.8203 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.9245, allocations: 42.95 kB / 0.7503 GB, free: 0.7695 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.9245, allocations: 0 / 0.7503 GB, free: 0.7695 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.001075/0.9256, allocations: 0.5676 MB / 0.7509 GB, free: 200 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.9257, allocations: 59.84 kB / 0.7509 GB, free: 128 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6437/1.569, allocations: 123.9 kB / 0.7511 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/1.57, allocations: 35.27 kB / 0.7511 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/1.57, allocations: 121 kB / 0.7512 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.57, allocations: 202.4 kB / 0.7514 GB, free: 132 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/1.57, allocations: 12.12 kB / 0.7514 GB, free: 132 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.57, allocations: 339.8 kB / 0.7517 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/1.571, allocations: 268.7 kB / 0.752 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/1.571, allocations: 324.7 kB / 0.7523 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/1.572, allocations: 315.3 kB / 0.7526 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.572, allocations: 0 / 0.7526 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001375/1.573, allocations: 0.7098 MB / 0.7533 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/1.573, allocations: 8.078 kB / 0.7533 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.573, allocations: 0 / 0.7533 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/1.573, allocations: 4.609 kB / 0.7533 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.575, allocations: 262 kB / 0.7536 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.575, allocations: 6.484 kB / 0.7536 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/1.575, allocations: 56.2 kB / 0.7536 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/1.575, allocations: 18.89 kB / 0.7536 GB, free: 131.5 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.575, allocations: 134.3 kB / 0.7538 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/1.575, allocations: 20.81 kB / 0.7538 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/1.576, allocations: 73.03 kB / 0.7539 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.576, allocations: 8.5 kB / 0.7539 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.576, allocations: 0.9062 kB / 0.7539 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.576, allocations: 6.719 kB / 0.7539 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/1.577, allocations: 469.9 kB / 0.7543 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.577, allocations: 6.516 kB / 0.7543 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.578, allocations: 257.8 kB / 0.7546 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/1.578, allocations: 2.219 kB / 0.7546 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/1.578, allocations: 18.83 kB / 0.7546 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.578, allocations: 5.344 kB / 0.7546 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.578, allocations: 1.547 kB / 0.7546 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.58, allocations: 0.9858 MB / 0.7556 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/1.58, allocations: 105.8 kB / 0.7557 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/1.58, allocations: 21.02 kB / 0.7557 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/1.581, allocations: 25.47 kB / 0.7557 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.581, allocations: 33.72 kB / 0.7557 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/1.581, allocations: 14.47 kB / 0.7558 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.744e-05/1.581, allocations: 98.75 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/1.581, allocations: 0 / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000485/1.581, allocations: 160.5 kB / 0.756 GB, free: 130.4 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/1.582, allocations: 121.9 kB / 0.7561 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.583, allocations: 0.6214 MB / 0.7567 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.583, allocations: 0 / 0.7567 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005341/1.583, allocations: 310.8 kB / 0.757 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/1.584, allocations: 66.91 kB / 0.7571 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/1.587, allocations: 2.359 MB / 0.7594 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/1.588, allocations: 0.7999 MB / 0.7602 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007312/1.588, allocations: 175.7 kB / 0.7603 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.589, allocations: 32.69 kB / 0.7604 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of SimCode: time 1.513e-06/1.589, allocations: 0 / 0.7604 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of Templates: time 0.00965/1.598, allocations: 4.936 MB / 0.7652 GB, free: 127.2 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches