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/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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.00119/0.00119, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.2/1.2, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7428/0.7428, allocations: 119.3 MB / 410.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 0.4919 GB, free: 12.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3865, allocations: 80.67 MB / 0.5707 GB, free: 43.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001849/0.3884, allocations: 1.525 MB / 0.5722 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.3886, allocations: 90.53 kB / 0.5722 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.3887, allocations: 0 / 0.5722 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.999e-05/0.3888, allocations: 13.45 kB / 0.5723 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.3889, allocations: 64.77 kB / 0.5723 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.389, allocations: 22.03 kB / 0.5723 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.3894, allocations: 0.5729 MB / 0.5729 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.3894, allocations: 5.344 kB / 0.5729 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3896, allocations: 204 kB / 0.5731 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.3899, allocations: 310.9 kB / 0.5734 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.39, allocations: 32.59 kB / 0.5734 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.39, allocations: 30.41 kB / 0.5735 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3902, allocations: 190.5 kB / 0.5736 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.3903, allocations: 188.9 kB / 0.5738 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3905, allocations: 340 kB / 0.5741 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3906, allocations: 0 / 0.5741 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3906, allocations: 0.9375 kB / 0.5741 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3906, allocations: 0 / 0.5741 GB, free: 41.58 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.001948/0.3925, allocations: 0.8518 MB / 0.575 GB, free: 40.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3926, allocations: 8.875 kB / 0.575 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.3926, allocations: 66.91 kB / 0.575 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.3927, allocations: 30.84 kB / 0.5751 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.3929, allocations: 257.5 kB / 0.5753 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.393, allocations: 32.31 kB / 0.5754 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.3931, allocations: 48.88 kB / 0.5754 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.3937, allocations: 445.9 kB / 0.5758 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3937, allocations: 3.938 kB / 0.5758 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.3937, allocations: 11.16 kB / 0.5758 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.3938, allocations: 5.812 kB / 0.5758 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.3943, allocations: 375.5 kB / 0.5762 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.3966, allocations: 2.165 MB / 0.5783 GB, free: 38.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.3974, allocations: 478 kB / 0.5788 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.3978, allocations: 328.6 kB / 0.5791 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.3979, allocations: 9 kB / 0.5791 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.3979, allocations: 40.97 kB / 0.5791 GB, free: 37.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.533e-06/0.3979, allocations: 4 kB / 0.5791 GB, free: 37.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001251/0.3992, allocations: 0.8076 MB / 0.5799 GB, free: 37.46 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.3992, allocations: 56.88 kB / 0.58 GB, free: 37.4 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.3993, allocations: 134 kB / 0.5801 GB, free: 37.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3993, allocations: 36.23 kB / 0.5801 GB, free: 37.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3994, allocations: 118 kB / 0.5803 GB, free: 37.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.3995, allocations: 211.7 kB / 0.5805 GB, free: 36.94 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.3996, allocations: 111.3 kB / 0.5806 GB, free: 36.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.3997, allocations: 347.6 kB / 0.5809 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.4001, allocations: 275.9 kB / 0.5812 GB, free: 36.42 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.4005, allocations: 330.8 kB / 0.5815 GB, free: 36.26 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.4013, allocations: 0.6138 MB / 0.5821 GB, free: 35.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4013, allocations: 1.281 kB / 0.5821 GB, free: 35.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001006/0.4023, allocations: 0.7355 MB / 0.5828 GB, free: 35.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4024, allocations: 5.219 kB / 0.5828 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4024, allocations: 0 / 0.5828 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4024, allocations: 3.281 kB / 0.5828 GB, free: 35.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.4035, allocations: 261.6 kB / 0.5831 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4035, allocations: 3.406 kB / 0.5831 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.4039, allocations: 64.38 kB / 0.5831 GB, free: 35.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.4039, allocations: 17.12 kB / 0.5831 GB, free: 35.52 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.0001488/0.4041, allocations: 168 kB / 0.5833 GB, free: 35.37 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.4042, allocations: 27.62 kB / 0.5833 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.4043, allocations: 79.34 kB / 0.5834 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.4044, allocations: 5.906 kB / 0.5834 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4044, allocations: 0 / 0.5834 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4044, allocations: 3.984 kB / 0.5834 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.4049, allocations: 474.8 kB / 0.5839 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4049, allocations: 3.938 kB / 0.5839 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.4062, allocations: 253.2 kB / 0.5841 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4062, allocations: 2.531 kB / 0.5841 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.4062, allocations: 24.59 kB / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4062, allocations: 2.688 kB / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4063, allocations: 0 / 0.5841 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.4076, allocations: 1.008 MB / 0.5851 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.4076, allocations: 109 kB / 0.5852 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.4077, allocations: 21.08 kB / 0.5852 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.4081, allocations: 26.38 kB / 0.5853 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4082, allocations: 30.14 kB / 0.5853 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.4082, allocations: 14.97 kB / 0.5853 GB, free: 34.14 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.4083, allocations: 99.2 kB / 0.5854 GB, free: 34.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4083, allocations: 4 kB / 0.5854 GB, free: 34.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003699/0.4086, allocations: 148 kB / 0.5855 GB, free: 33.89 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.00126/0.4099, allocations: 1.57 MB / 0.5871 GB, free: 32.29 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009457/0.4109, allocations: 0.8027 MB / 0.5879 GB, free: 31.49 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4109, allocations: 0 / 0.5879 GB, free: 31.49 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.4112, allocations: 322.2 kB / 0.5882 GB, free: 31.18 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4116, allocations: 64.02 kB / 0.5882 GB, free: 31.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.4168, allocations: 5.961 MB / 0.5941 GB, free: 25.06 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.417, allocations: 0.7995 MB / 0.5948 GB, free: 24.23 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.4174, allocations: 170.8 kB / 0.595 GB, free: 24.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.4176, allocations: 95.41 kB / 0.5951 GB, free: 23.97 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.4176, allocations: 4 kB / 0.5951 GB, free: 23.97 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3817/0.7993, allocations: 8.903 MB / 0.6038 GB, free: 15.32 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.7995, allocations: 257.8 kB / 0.604 GB, free: 15.02 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.752, allocations: 3.094 kB / 0.604 GB, free: 15.02 MB / 462.3 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches