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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 113.6 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.131/1.131, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 64.03 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6211, allocations: 80.69 MB / 0.5725 GB, free: 43.87 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002524/0.6237, allocations: 1.448 MB / 0.5739 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.624, allocations: 102.7 kB / 0.574 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.624, allocations: 3.938 kB / 0.574 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.6242, allocations: 9.266 kB / 0.5741 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.6243, allocations: 68.34 kB / 0.5741 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.6245, allocations: 24.95 kB / 0.5741 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.6251, allocations: 0.5756 MB / 0.5747 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.6252, allocations: 5.5 kB / 0.5747 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.6254, allocations: 211.2 kB / 0.5749 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.6257, allocations: 286.5 kB / 0.5752 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.6258, allocations: 30.03 kB / 0.5752 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.6259, allocations: 28.91 kB / 0.5752 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.626, allocations: 183.1 kB / 0.5754 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.6263, allocations: 189.1 kB / 0.5756 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.6266, allocations: 337.2 kB / 0.5759 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6266, allocations: 1.125 kB / 0.5759 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6266, allocations: 4 kB / 0.5759 GB, free: 41.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.6266, allocations: 0 / 0.5759 GB, free: 41.56 MB / 462.3 MB 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.0021/0.6287, allocations: 0.853 MB / 0.5768 GB, free: 40.94 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6287, allocations: 13.17 kB / 0.5768 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.6288, allocations: 31.56 kB / 0.5768 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.6292, allocations: 258.6 kB / 0.577 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.6293, allocations: 26.97 kB / 0.5771 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.6294, allocations: 49.28 kB / 0.5771 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.63, allocations: 446.6 kB / 0.5775 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.63, allocations: 192 / 0.5775 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.6301, allocations: 19.06 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6301, allocations: 9.688 kB / 0.5776 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.6307, allocations: 375.1 kB / 0.5779 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.6335, allocations: 2.162 MB / 0.58 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/0.6344, allocations: 477.1 kB / 0.5805 GB, free: 38.1 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.6349, allocations: 328.1 kB / 0.5808 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.6349, allocations: 9.469 kB / 0.5808 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.635, allocations: 41.47 kB / 0.5809 GB, free: 37.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 3.316e-06/0.635, allocations: 0 / 0.5809 GB, free: 37.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001373/0.6364, allocations: 0.8117 MB / 0.5816 GB, free: 37.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6364, allocations: 56.91 kB / 0.5817 GB, free: 37.44 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.6365, allocations: 133.5 kB / 0.5818 GB, free: 37.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.6365, allocations: 40.23 kB / 0.5819 GB, free: 37.28 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.6366, allocations: 120.8 kB / 0.582 GB, free: 37.16 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.6367, allocations: 204 kB / 0.5822 GB, free: 36.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.6369, allocations: 111.6 kB / 0.5823 GB, free: 36.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.6369, allocations: 343.6 kB / 0.5826 GB, free: 36.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.6374, allocations: 275.8 kB / 0.5829 GB, free: 36.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.6378, allocations: 334.9 kB / 0.5832 GB, free: 36.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.6388, allocations: 0.6219 MB / 0.5838 GB, free: 36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6388, allocations: 3.938 kB / 0.5838 GB, free: 36 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001102/0.6399, allocations: 0.7239 MB / 0.5845 GB, free: 35.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.64, allocations: 5.531 kB / 0.5845 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.64, allocations: 1.156 kB / 0.5845 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.64, allocations: 7.188 kB / 0.5845 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6411, allocations: 253.3 kB / 0.5848 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.6412, allocations: 3.625 kB / 0.5848 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.6416, allocations: 66.03 kB / 0.5848 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.6416, allocations: 16.66 kB / 0.5848 GB, free: 35.56 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.6418, allocations: 164.3 kB / 0.585 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.6419, allocations: 23.25 kB / 0.585 GB, free: 35.4 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.6422, allocations: 76.47 kB / 0.5851 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.6422, allocations: 8.344 kB / 0.5851 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.6422, allocations: 1.281 kB / 0.5851 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6422, allocations: 3.984 kB / 0.5851 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.6428, allocations: 478.2 kB / 0.5856 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6428, allocations: 0 / 0.5856 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.6441, allocations: 257.7 kB / 0.5858 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6441, allocations: 1.594 kB / 0.5858 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.6442, allocations: 26.06 kB / 0.5858 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6442, allocations: 1.312 kB / 0.5858 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6442, allocations: 0 / 0.5858 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.6456, allocations: 1.013 MB / 0.5868 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.6456, allocations: 104.6 kB / 0.5869 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.6457, allocations: 23.98 kB / 0.587 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.6461, allocations: 27.91 kB / 0.587 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6462, allocations: 32.33 kB / 0.587 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.6462, allocations: 16 kB / 0.587 GB, free: 33.92 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.07e-05/0.6463, allocations: 95.27 kB / 0.5871 GB, free: 33.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6463, allocations: 0 / 0.5871 GB, free: 33.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004214/0.6467, allocations: 151.8 kB / 0.5873 GB, free: 33.68 MB / 462.3 MB 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 (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.0001319/0.6469, allocations: 131.7 kB / 0.5874 GB, free: 33.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008654/0.6477, allocations: 0.6426 MB / 0.588 GB, free: 32.9 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6477, allocations: 0 / 0.588 GB, free: 32.9 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.6481, allocations: 322.3 kB / 0.5883 GB, free: 32.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.6485, allocations: 71.95 kB / 0.5884 GB, free: 32.52 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.651, allocations: 2.237 MB / 0.5906 GB, free: 30.25 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.6512, allocations: 0.7995 MB / 0.5914 GB, free: 29.43 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.6516, allocations: 174.8 kB / 0.5915 GB, free: 29.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.6518, allocations: 27.44 kB / 0.5916 GB, free: 29.23 MB / 462.3 MB Notification: Performance of SimCode: time 1.383e-06/0.6518, allocations: 0 / 0.5916 GB, free: 29.23 MB / 462.3 MB Notification: Performance of Templates: time 0.007938/0.6598, allocations: 5.407 MB / 0.5968 GB, free: 23.9 MB / 462.3 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches