Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002693/0.002694, allocations: 198 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.757/2.757, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 98.19 kB / 297.4 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005053, allocations: 4 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.5603, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.74, allocations: 81.07 MB / 489.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/0.7405, allocations: 71.97 kB / 489.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04402/0.7846, allocations: 9.472 MB / 499.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.159e-06/0.7847, allocations: 0 / 499.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.459e-05/0.7848, allocations: 15.98 kB / 499.3 MB, free: 0.9492 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002173/0.787, allocations: 0.7456 MB / 0.4883 GB, free: 144 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.127e-05/0.7871, allocations: 8.031 kB / 0.4883 GB, free: 136 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.7873, allocations: 64.19 kB / 0.4884 GB, free: 72 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.7883, allocations: 386.7 kB / 0.4888 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.7886, allocations: 62.91 kB / 0.4888 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.7887, allocations: 32.28 kB / 0.4888 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7901, allocations: 457.5 kB / 0.4893 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.7901, allocations: 7.922 kB / 0.4893 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.7902, allocations: 16 kB / 0.4893 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.7903, allocations: 11.94 kB / 0.4893 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.7914, allocations: 290.5 kB / 0.4896 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.7955, allocations: 1.252 MB / 0.4908 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.7974, allocations: 428.4 kB / 0.4912 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.798, allocations: 149.4 kB / 0.4914 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.7981, allocations: 8.281 kB / 0.4914 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.7981, allocations: 42.78 kB / 0.4914 GB, free: 12.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 6.291e-06/0.7982, allocations: 0 / 0.4914 GB, free: 12.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002307/0.8005, allocations: 0.6256 MB / 0.492 GB, free: 12.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003051/0.8008, allocations: 441 kB / 0.4924 GB, free: 11.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.8019, allocations: 453.9 kB / 0.4929 GB, free: 11.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.832e-05/0.8021, allocations: 33.7 kB / 0.4929 GB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.8024, allocations: 228.5 kB / 0.4931 GB, free: 10.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.8026, allocations: 126.2 kB / 0.4932 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.8027, allocations: 12 kB / 0.4933 GB, free: 10.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003489/0.8031, allocations: 358.7 kB / 0.4936 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.8035, allocations: 112 kB / 0.4937 GB, free: 10.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.8042, allocations: 254.9 kB / 0.494 GB, free: 9.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.8052, allocations: 289.3 kB / 0.4942 GB, free: 9.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.8052, allocations: 0 / 0.4942 GB, free: 9.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001513/0.8067, allocations: 441.8 kB / 0.4946 GB, free: 9.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.8068, allocations: 33.73 kB / 0.4947 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8068, allocations: 0 / 0.4947 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.8071, allocations: 57.67 kB / 0.4947 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.8077, allocations: 71.91 kB / 0.4948 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.8118, allocations: 2.744 MB / 0.4975 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.8125, allocations: 47.66 kB / 0.4975 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.8126, allocations: 12.23 kB / 0.4975 GB, free: 5.938 MB / 378.7 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005083/0.8131, allocations: 170.4 kB / 0.4977 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.8133, allocations: 55.42 kB / 0.4978 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.8136, allocations: 56.69 kB / 0.4978 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8136, allocations: 4 kB / 0.4978 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8136, allocations: 0 / 0.4978 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.8149, allocations: 0.6609 MB / 0.4985 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.8173, allocations: 0.9268 MB / 0.4994 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8174, allocations: 0 / 0.4994 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.818, allocations: 71.89 kB / 0.4994 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.818, allocations: 8 kB / 0.4994 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.8181, allocations: 4 kB / 0.4994 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.8181, allocations: 4.094 kB / 0.4994 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8181, allocations: 3.938 kB / 0.4995 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.8197, allocations: 0.538 MB / 0.5 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.8201, allocations: 168.4 kB / 0.5001 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.8202, allocations: 8 kB / 0.5001 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.8206, allocations: 16 kB / 0.5002 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.8207, allocations: 19.91 kB / 0.5002 GB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.8208, allocations: 12 kB / 0.5002 GB, free: 3.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006899/0.8215, allocations: 319.1 kB / 0.5005 GB, free: 2.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8215, allocations: 4.062 kB / 0.5005 GB, free: 2.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009513/0.8225, allocations: 143.8 kB / 0.5006 GB, free: 2.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (33): * Single equations (assignments): 33 * 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.0003132/0.8228, allocations: 119.2 kB / 0.5008 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.8244, allocations: 0.563 MB / 0.5013 GB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8245, allocations: 3.938 kB / 0.5013 GB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.8249, allocations: 131.9 kB / 0.5014 GB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8262, allocations: 132.8 kB / 0.5016 GB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.8295, allocations: 1.118 MB / 0.5026 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3636/1.193, allocations: 0.8172 MB / 0.5034 GB, free: 94.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/1.194, allocations: 41.72 kB / 0.5035 GB, free: 94.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.735e-06/1.194, allocations: 0.5 kB / 0.5035 GB, free: 94.55 MB / 378.7 MB Notification: Performance of Templates: time 0.0242/1.218, allocations: 8.14 MB / 0.5114 GB, free: 93.74 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches