Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009865/0.0009867, allocations: 91.34 kB / 292.1 MB, free: 5.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.031e-05, allocations: 4 kB / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4569, allocations: 81.76 MB / 483.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4572, allocations: 74.77 kB / 483.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02316/0.4804, allocations: 9.998 MB / 493.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4804, allocations: 0 / 493.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.4805, allocations: 10.34 kB / 493.9 MB, free: 15.38 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001622/0.4821, allocations: 0.7369 MB / 494.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.4822, allocations: 8.031 kB / 494.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.4824, allocations: 63.34 kB / 494.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.4834, allocations: 390.6 kB / 495.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.4836, allocations: 62.08 kB / 495.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.4837, allocations: 35.17 kB / 495.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.4845, allocations: 446.9 kB / 495.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4846, allocations: 0 / 495.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/0.4847, allocations: 16 kB / 495.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4847, allocations: 8 kB / 495.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.4852, allocations: 271.1 kB / 495.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.4879, allocations: 1.288 MB / 497.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.4886, allocations: 367.3 kB / 497.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.4889, allocations: 152.8 kB / 497.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.489, allocations: 12 kB / 497.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.489, allocations: 50.55 kB / 497.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/0.489, allocations: 0 / 497.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008839/0.4899, allocations: 376.8 kB / 498.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002861/0.4902, allocations: 445 kB / 498.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.4908, allocations: 399 kB / 498.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.4908, allocations: 41.64 kB / 499 MB, free: 9.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.491, allocations: 244.5 kB / 499.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4912, allocations: 130 kB / 499.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.4912, allocations: 4 kB / 499.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4914, allocations: 359.5 kB / 499.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4916, allocations: 107.1 kB / 499.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.492, allocations: 246.6 kB / 0.4883 GB, free: 8.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.4922, allocations: 160.2 kB / 0.4885 GB, free: 8.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4922, allocations: 0 / 0.4885 GB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008108/0.4931, allocations: 436.1 kB / 0.4889 GB, free: 8.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.4931, allocations: 29.7 kB / 0.4889 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4931, allocations: 4 kB / 0.4889 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.4934, allocations: 58.19 kB / 0.489 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.4939, allocations: 95.91 kB / 0.4891 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.4961, allocations: 2.725 MB / 0.4917 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.4966, allocations: 67.61 kB / 0.4918 GB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.4967, allocations: 8 kB / 0.4918 GB, free: 4.902 MB / 362.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 () * 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.000149/0.4968, allocations: 132.9 kB / 0.4919 GB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/0.4969, allocations: 57.88 kB / 0.492 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.4971, allocations: 56.88 kB / 0.492 GB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4971, allocations: 4 kB / 0.492 GB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4971, allocations: 0 / 0.492 GB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006426/0.4977, allocations: 0.6724 MB / 0.4927 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.4991, allocations: 0.9583 MB / 0.4936 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4991, allocations: 3.984 kB / 0.4936 GB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.4996, allocations: 103.9 kB / 0.4937 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4996, allocations: 0 / 0.4937 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4996, allocations: 8 kB / 0.4937 GB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4996, allocations: 0 / 0.4937 GB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4996, allocations: 3.953 kB / 0.4937 GB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.5004, allocations: 0.5696 MB / 0.4943 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.5006, allocations: 160.5 kB / 0.4944 GB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.5007, allocations: 12.88 kB / 0.4945 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.501, allocations: 35.97 kB / 0.4945 GB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.5011, allocations: 19.97 kB / 0.4945 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.5011, allocations: 15.94 kB / 0.4945 GB, free: 1.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003469/0.5015, allocations: 317.3 kB / 0.4948 GB, free: 1.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5015, allocations: 4 kB / 0.4948 GB, free: 1.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004637/0.5019, allocations: 143.8 kB / 0.495 GB, free: 1.434 MB / 362.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 () * 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.0001898/0.5021, allocations: 123.5 kB / 0.4951 GB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000886/0.503, allocations: 0.5814 MB / 0.4957 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5031, allocations: 0 / 0.4957 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.5033, allocations: 147.9 kB / 0.4958 GB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.5039, allocations: 131.8 kB / 0.4959 GB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.5053, allocations: 0.6391 MB / 0.4965 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.5058, allocations: 0.8394 MB / 0.4974 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000264/0.506, allocations: 60.34 kB / 0.4974 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5062, allocations: 35.44 kB / 0.4975 GB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5062, allocations: 0 / 0.4975 GB, free: 14.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01391/0.5201, allocations: 7.841 MB / 0.5051 GB, free: 7.176 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches