Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001178/0.001178, allocations: 183.4 kB / 16.39 MB, free: 5.742 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.256/1.256, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009523, allocations: 85.11 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8077/0.8077, allocations: 120.5 MB / 463 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 82.86 MB / 0.6255 GB, free: 7.898 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6697/0.8119, allocations: 125.5 MB / 0.7481 GB, free: 8.566 MB / 0.5106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001552/0.8121, allocations: 51.09 kB / 0.7482 GB, free: 8.543 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.8295, allocations: 5.428 MB / 0.7535 GB, free: 3.555 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8295, allocations: 0 / 0.7535 GB, free: 3.555 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.8295, allocations: 4 kB / 0.7535 GB, free: 3.551 MB / 0.5106 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.001878/0.8314, allocations: 0.7766 MB / 0.7543 GB, free: 2.738 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8315, allocations: 12.03 kB / 0.7543 GB, free: 2.727 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.8316, allocations: 31.67 kB / 0.7543 GB, free: 2.695 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.8324, allocations: 300.5 kB / 0.7546 GB, free: 2.363 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.8324, allocations: 32 kB / 0.7546 GB, free: 2.344 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.8326, allocations: 47.03 kB / 0.7547 GB, free: 2.312 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.8333, allocations: 439.9 kB / 0.7551 GB, free: 1.973 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8334, allocations: 0 / 0.7551 GB, free: 1.973 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.8334, allocations: 15.75 kB / 0.7551 GB, free: 1.965 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.8334, allocations: 7.953 kB / 0.7551 GB, free: 1.957 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/0.8341, allocations: 375.4 kB / 0.7555 GB, free: 1.684 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.8374, allocations: 2.176 MB / 0.7576 GB, free: 15.37 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.8382, allocations: 490.6 kB / 0.7581 GB, free: 15.03 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.8383, allocations: 8.438 kB / 0.7581 GB, free: 15.02 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.8383, allocations: 38.5 kB / 0.7581 GB, free: 14.98 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=49): time 3.306e-06/0.8383, allocations: 3.984 kB / 0.7581 GB, free: 14.97 MB / 0.5263 GB Notification: Performance of matching and sorting (n=49): time 0.001485/0.8398, allocations: 0.8065 MB / 0.7589 GB, free: 14.36 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.8399, allocations: 55.84 kB / 0.7589 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.84, allocations: 126.1 kB / 0.7591 GB, free: 14.17 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.8401, allocations: 37.52 kB / 0.7591 GB, free: 14.14 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.8401, allocations: 128.7 kB / 0.7592 GB, free: 14.02 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.8403, allocations: 207.6 kB / 0.7594 GB, free: 13.84 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.8404, allocations: 7.75 kB / 0.7594 GB, free: 13.84 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8405, allocations: 342.4 kB / 0.7598 GB, free: 13.51 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.841, allocations: 281.5 kB / 0.76 GB, free: 13.3 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.8415, allocations: 329.4 kB / 0.7603 GB, free: 13.06 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.842, allocations: 318.5 kB / 0.7606 GB, free: 12.85 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.842, allocations: 4 kB / 0.7606 GB, free: 12.84 MB / 0.5263 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001139/0.8431, allocations: 0.7278 MB / 0.7614 GB, free: 12.3 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8432, allocations: 4 kB / 0.7614 GB, free: 12.29 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8432, allocations: 0 / 0.7614 GB, free: 12.29 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.8432, allocations: 4 kB / 0.7614 GB, free: 12.29 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.8443, allocations: 255.6 kB / 0.7616 GB, free: 12.04 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.8444, allocations: 7.938 kB / 0.7616 GB, free: 12.04 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.8448, allocations: 66.91 kB / 0.7617 GB, free: 11.98 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.8449, allocations: 15.88 kB / 0.7617 GB, free: 11.97 MB / 0.5263 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 () * Number of clocked 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.0001835/0.8451, allocations: 159.6 kB / 0.7618 GB, free: 11.82 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.8452, allocations: 19.81 kB / 0.7619 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.8454, allocations: 79.95 kB / 0.7619 GB, free: 11.79 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.8454, allocations: 4 kB / 0.7619 GB, free: 11.79 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.8454, allocations: 4.453 kB / 0.7619 GB, free: 11.78 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8454, allocations: 4 kB / 0.7619 GB, free: 11.78 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.846, allocations: 466.8 kB / 0.7624 GB, free: 11.34 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.846, allocations: 3.984 kB / 0.7624 GB, free: 11.34 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.8475, allocations: 263.5 kB / 0.7626 GB, free: 11.09 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.8475, allocations: 0 / 0.7626 GB, free: 11.09 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.8475, allocations: 19.86 kB / 0.7627 GB, free: 11.07 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8476, allocations: 0 / 0.7627 GB, free: 11.07 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.8476, allocations: 9.266 kB / 0.7627 GB, free: 11.06 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.849, allocations: 1.007 MB / 0.7637 GB, free: 10.29 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.8491, allocations: 112.6 kB / 0.7638 GB, free: 10.16 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.8492, allocations: 19.8 kB / 0.7638 GB, free: 10.14 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.8496, allocations: 27.67 kB / 0.7638 GB, free: 10.12 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8497, allocations: 28.39 kB / 0.7638 GB, free: 10.1 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.8498, allocations: 19.88 kB / 0.7639 GB, free: 10.08 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.8499, allocations: 106.5 kB / 0.764 GB, free: 9.988 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8499, allocations: 0 / 0.764 GB, free: 9.988 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004379/0.8503, allocations: 155.4 kB / 0.7641 GB, free: 9.852 MB / 0.5263 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 () * Number of clocked 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.0001887/0.8505, allocations: 119.5 kB / 0.7642 GB, free: 9.73 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.8515, allocations: 0.6318 MB / 0.7648 GB, free: 9.258 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8515, allocations: 4.062 kB / 0.7648 GB, free: 9.254 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.852, allocations: 323.3 kB / 0.7652 GB, free: 9.02 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.8524, allocations: 63.45 kB / 0.7652 GB, free: 8.973 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.8558, allocations: 2.717 MB / 0.7679 GB, free: 6.285 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.8561, allocations: 0.8035 MB / 0.7687 GB, free: 5.461 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0005189/0.8567, allocations: 178.8 kB / 0.7688 GB, free: 5.285 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.8569, allocations: 27.44 kB / 0.7688 GB, free: 5.258 MB / 0.5263 GB Notification: Performance of SimCode: time 3.41e-07/0.8569, allocations: 0 / 0.7688 GB, free: 5.258 MB / 0.5263 GB Notification: Performance of Templates: time 0.008903/0.8658, allocations: 4.919 MB / 0.7737 GB, free: 432 kB / 0.5263 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches