Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002954/0.002954, allocations: 195.7 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.639/2.639, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 99.92 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005065, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5222, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.724, allocations: 81.76 MB / 490.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/0.7244, allocations: 79.95 kB / 490.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.7734, allocations: 10.01 MB / 0.4888 GB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7735, allocations: 0 / 0.4888 GB, free: 15.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.7736, allocations: 16 kB / 0.4888 GB, free: 15.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002961/0.7766, allocations: 0.8038 MB / 0.4896 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/0.7767, allocations: 12.03 kB / 0.4896 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.7771, allocations: 68.19 kB / 0.4897 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.7785, allocations: 410.5 kB / 0.49 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.7787, allocations: 54.92 kB / 0.4901 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.7789, allocations: 32.38 kB / 0.4901 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.7807, allocations: 0.4935 MB / 0.4906 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.7807, allocations: 3.938 kB / 0.4906 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.7808, allocations: 20 kB / 0.4906 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.7809, allocations: 8 kB / 0.4906 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.7826, allocations: 366.4 kB / 0.491 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008875/0.7915, allocations: 1.284 MB / 0.4922 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.7933, allocations: 452.3 kB / 0.4927 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.7941, allocations: 200.8 kB / 0.4929 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.568e-05/0.7943, allocations: 8 kB / 0.4929 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.7944, allocations: 38.56 kB / 0.4929 GB, free: 11.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 8.396e-06/0.7944, allocations: 0 / 0.4929 GB, free: 11.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003068/0.7975, allocations: 0.7755 MB / 0.4937 GB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003029/0.7978, allocations: 448.8 kB / 0.4941 GB, free: 9.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/0.7988, allocations: 461.9 kB / 0.4945 GB, free: 9.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.7989, allocations: 33.7 kB / 0.4946 GB, free: 9.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.7992, allocations: 236.4 kB / 0.4948 GB, free: 9.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.7994, allocations: 130.1 kB / 0.4949 GB, free: 8.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.7995, allocations: 12 kB / 0.4949 GB, free: 8.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.7997, allocations: 358.7 kB / 0.4953 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/0.8004, allocations: 151.9 kB / 0.4954 GB, free: 8.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008093/0.8012, allocations: 298.4 kB / 0.4957 GB, free: 8.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.8027, allocations: 379.6 kB / 0.4961 GB, free: 7.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.8027, allocations: 4 kB / 0.4961 GB, free: 7.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002365/0.8051, allocations: 0.5038 MB / 0.4966 GB, free: 7.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.8052, allocations: 33.7 kB / 0.4966 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.8053, allocations: 0 / 0.4966 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.8056, allocations: 53.67 kB / 0.4966 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.8065, allocations: 91.88 kB / 0.4967 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.811, allocations: 2.744 MB / 0.4994 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.8121, allocations: 59.56 kB / 0.4995 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.8122, allocations: 20.66 kB / 0.4995 GB, free: 3.891 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 (38): * Single equations (assignments): 35 * 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.0007438/0.813, allocations: 169.8 kB / 0.4997 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.8134, allocations: 55.38 kB / 0.4997 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.8137, allocations: 56.75 kB / 0.4998 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.8137, allocations: 4 kB / 0.4998 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.8138, allocations: 0 / 0.4998 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/0.8159, allocations: 0.7711 MB / 0.5005 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.8189, allocations: 1.064 MB / 0.5016 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.819, allocations: 0 / 0.5016 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.8199, allocations: 95.88 kB / 0.5016 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.8199, allocations: 0 / 0.5016 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.82, allocations: 12 kB / 0.5017 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.82, allocations: 0 / 0.5017 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.82, allocations: 0 / 0.5017 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00473/0.8247, allocations: 0.7096 MB / 0.5024 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005534/0.8253, allocations: 176.7 kB / 0.5025 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.8256, allocations: 8 kB / 0.5025 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/0.8262, allocations: 27.98 kB / 0.5026 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.8264, allocations: 31.94 kB / 0.5026 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.8264, allocations: 8 kB / 0.5026 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007906/0.8273, allocations: 323.1 kB / 0.5029 GB, free: 188 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8273, allocations: 4 kB / 0.5029 GB, free: 184 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002014/0.8293, allocations: 143.8 kB / 0.503 GB, free: 40 kB / 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 (36): * Single equations (assignments): 36 * 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.3871/1.216, allocations: 113.2 kB / 0.5031 GB, free: 94.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003035/1.219, allocations: 0.6659 MB / 0.5038 GB, free: 94.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.22, allocations: 2 kB / 0.5038 GB, free: 94.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.221, allocations: 206.4 kB / 0.504 GB, free: 94.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.223, allocations: 135.8 kB / 0.5041 GB, free: 94.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/1.227, allocations: 1.149 MB / 0.5052 GB, free: 93.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/1.228, allocations: 0.8333 MB / 0.5061 GB, free: 93.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/1.228, allocations: 42.5 kB / 0.5061 GB, free: 93.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/1.228, allocations: 0 / 0.5061 GB, free: 93.23 MB / 378.7 MB Notification: Performance of Templates: time 0.02596/1.254, allocations: 8.785 MB / 0.5147 GB, free: 91.95 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches