Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 178.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007539/0.0007537, allocations: 85.05 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08725/0.3005, allocations: 82.48 MB / 458.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.3008, allocations: 75.95 kB / 458.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04293/0.3437, allocations: 16.45 MB / 474.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3438, allocations: 4 kB / 474.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.3438, allocations: 20 kB / 474.7 MB, free: 13.46 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00242/0.3463, allocations: 1.189 MB / 475.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3463, allocations: 8.031 kB / 475.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.3466, allocations: 107.8 kB / 476 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009579/0.3476, allocations: 0.5636 MB / 476.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.3478, allocations: 151 kB / 476.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3479, allocations: 56.75 kB / 476.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3494, allocations: 0.8673 MB / 477.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3494, allocations: 11.94 kB / 477.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.3495, allocations: 28 kB / 477.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3495, allocations: 16 kB / 477.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.351, allocations: 0.6454 MB / 478.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.3545, allocations: 2.092 MB / 480.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.3561, allocations: 1.071 MB / 481.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/0.3569, allocations: 418 kB / 482 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/0.357, allocations: 12.64 kB / 482 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.357, allocations: 51.16 kB / 482 MB, free: 5.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.785e-06/0.357, allocations: 4 kB / 482 MB, free: 5.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.005202/0.3622, allocations: 2.011 MB / 484 MB, free: 3.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003407/0.3626, allocations: 0.8234 MB / 484.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.3635, allocations: 0.6215 MB / 485.5 MB, free: 2.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.3636, allocations: 45.7 kB / 485.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3638, allocations: 333 kB / 485.8 MB, free: 1.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.364, allocations: 256.2 kB / 486.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3641, allocations: 16 kB / 486.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3643, allocations: 390.7 kB / 486.5 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.3649, allocations: 297.8 kB / 486.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.3659, allocations: 0.5624 MB / 487.3 MB, free: 20 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.3673, allocations: 0.7365 MB / 488.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3673, allocations: 0 / 488.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00267/0.37, allocations: 1.192 MB / 489.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.3701, allocations: 85.11 kB / 489.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3701, allocations: 0 / 489.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/0.3708, allocations: 247.2 kB / 489.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.3714, allocations: 155.7 kB / 489.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007321/0.3788, allocations: 6.488 MB / 496.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.3796, allocations: 123.3 kB / 496.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.3797, allocations: 20 kB / 496.4 MB, free: 6.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004273/0.3801, allocations: 217.7 kB / 496.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.3803, allocations: 87 kB / 496.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3806, allocations: 96.05 kB / 496.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3806, allocations: 12 kB / 496.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3806, allocations: 192 / 496.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0025/0.3831, allocations: 1.327 MB / 498.1 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/0.3871, allocations: 2.027 MB / 0.4884 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3871, allocations: 0 / 0.4884 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.3878, allocations: 147.8 kB / 0.4886 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.3883, allocations: 226.5 kB / 0.4888 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.3884, allocations: 12 kB / 0.4888 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1526/0.541, allocations: 5.038 MB / 0.4937 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5411, allocations: 3.875 kB / 0.4937 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.5444, allocations: 1.512 MB / 0.4952 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.5448, allocations: 236 kB / 0.4954 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5449, allocations: 25.48 kB / 0.4954 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.5454, allocations: 62.56 kB / 0.4955 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.5456, allocations: 62.2 kB / 0.4956 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.5457, allocations: 19.03 kB / 0.4956 GB, free: 102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005224/0.5462, allocations: 450.6 kB / 0.496 GB, free: 101.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5462, allocations: 2.625 kB / 0.496 GB, free: 101.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.547, allocations: 289 kB / 0.4963 GB, free: 101.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.5472, allocations: 138.4 kB / 0.4964 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.5492, allocations: 1.398 MB / 0.4978 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5492, allocations: 1.312 kB / 0.4978 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.5505, allocations: 0.8042 MB / 0.4986 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5515, allocations: 228.4 kB / 0.4988 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.5541, allocations: 1.946 MB / 0.5007 GB, free: 99.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.5545, allocations: 0.9456 MB / 0.5016 GB, free: 99.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5547, allocations: 65.88 kB / 0.5017 GB, free: 99.22 MB / 378.7 MB Notification: Performance of SimCode: time 6.02e-07/0.5547, allocations: 0 / 0.5017 GB, free: 99.22 MB / 378.7 MB Notification: Performance of Templates: time 0.01953/0.5743, allocations: 22.31 MB / 0.5235 GB, free: 87.81 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches