Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 197.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009002/0.0009002, allocations: 88.69 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.877e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.794/1.942, allocations: 0.5368 GB / 0.9227 GB, free: 133.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/1.942, allocations: 72.7 kB / 0.9228 GB, free: 133.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462/3.404, allocations: 459.8 MB / 1.372 GB, free: 54.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.564e-06/3.404, allocations: 2.062 kB / 1.372 GB, free: 54.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.7e-05/3.404, allocations: 4 kB / 1.372 GB, free: 54.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002064/3.406, allocations: 0.7203 MB / 1.373 GB, free: 53.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/3.406, allocations: 8.031 kB / 1.373 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/3.407, allocations: 55.59 kB / 1.373 GB, free: 53.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/3.407, allocations: 282.1 kB / 1.373 GB, free: 53.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/3.407, allocations: 8 kB / 1.373 GB, free: 53.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/3.408, allocations: 19.94 kB / 1.373 GB, free: 53.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003722/3.408, allocations: 176.7 kB / 1.373 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/3.408, allocations: 289.4 kB / 1.373 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/3.408, allocations: 3.984 kB / 1.373 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/3.408, allocations: 4 kB / 1.373 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/3.408, allocations: 4 kB / 1.373 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/3.419, allocations: 5.452 MB / 1.379 GB, free: 47.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/3.42, allocations: 167 kB / 1.379 GB, free: 46.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/3.42, allocations: 82.77 kB / 1.379 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007825/3.428, allocations: 3.487 MB / 1.382 GB, free: 43.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/3.428, allocations: 38.75 kB / 1.382 GB, free: 43.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 4.638e-06/3.428, allocations: 0 / 1.382 GB, free: 43.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.003978/3.432, allocations: 0.9887 MB / 1.383 GB, free: 41.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/3.432, allocations: 55.39 kB / 1.383 GB, free: 41.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/3.432, allocations: 195.1 kB / 1.384 GB, free: 41.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/3.432, allocations: 25.7 kB / 1.384 GB, free: 41.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/3.432, allocations: 196.2 kB / 1.384 GB, free: 41.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/3.432, allocations: 90.66 kB / 1.384 GB, free: 41.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/3.432, allocations: 0 / 1.384 GB, free: 41.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/3.432, allocations: 334.8 kB / 1.384 GB, free: 41.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/3.432, allocations: 80 kB / 1.384 GB, free: 40.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/3.433, allocations: 175.1 kB / 1.384 GB, free: 40.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/3.433, allocations: 187.9 kB / 1.385 GB, free: 40.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/3.433, allocations: 0 / 1.385 GB, free: 40.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001173/3.435, allocations: 435.1 kB / 1.385 GB, free: 40.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/3.435, allocations: 4.625 kB / 1.385 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/3.435, allocations: 4 kB / 1.385 GB, free: 40.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/3.435, allocations: 65.69 kB / 1.385 GB, free: 40.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/3.435, allocations: 63.91 kB / 1.385 GB, free: 40 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/3.437, allocations: 1.891 MB / 1.387 GB, free: 37.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/3.437, allocations: 16.09 kB / 1.387 GB, free: 37.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/3.437, allocations: 16 kB / 1.387 GB, free: 37.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001121/3.437, allocations: 116.8 kB / 1.387 GB, free: 37.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/3.437, allocations: 27.7 kB / 1.387 GB, free: 37.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/3.438, allocations: 466.3 kB / 1.388 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/3.438, allocations: 11.94 kB / 1.388 GB, free: 37.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/3.438, allocations: 3.062 kB / 1.388 GB, free: 37.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000791/3.439, allocations: 0.6946 MB / 1.388 GB, free: 36.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/3.441, allocations: 0.8862 MB / 1.389 GB, free: 35.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/3.441, allocations: 4 kB / 1.389 GB, free: 35.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/3.441, allocations: 43.91 kB / 1.389 GB, free: 35.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/3.441, allocations: 88.78 kB / 1.389 GB, free: 35.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/3.441, allocations: 4 kB / 1.389 GB, free: 35.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005845/3.442, allocations: 0.6772 MB / 1.39 GB, free: 34.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/3.442, allocations: 3.953 kB / 1.39 GB, free: 34.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/3.443, allocations: 0.7062 MB / 1.391 GB, free: 34.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/3.443, allocations: 104.8 kB / 1.391 GB, free: 33.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/3.443, allocations: 3.953 kB / 1.391 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/3.443, allocations: 4 kB / 1.391 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/3.443, allocations: 23.97 kB / 1.391 GB, free: 33.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/3.444, allocations: 8.062 kB / 1.391 GB, free: 33.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001811/3.444, allocations: 153.9 kB / 1.391 GB, free: 33.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.444, allocations: 0 / 1.391 GB, free: 33.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001637/3.445, allocations: 203.8 kB / 1.391 GB, free: 33.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/3.447, allocations: 485.2 kB / 1.392 GB, free: 33.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008521/3.448, allocations: 423 kB / 1.392 GB, free: 32.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/3.448, allocations: 0 / 1.392 GB, free: 32.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/3.449, allocations: 205.7 kB / 1.392 GB, free: 32.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/3.449, allocations: 130.3 kB / 1.392 GB, free: 32.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/3.451, allocations: 0.5599 MB / 1.393 GB, free: 31.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/3.451, allocations: 0.7838 MB / 1.394 GB, free: 30.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/3.451, allocations: 52.34 kB / 1.394 GB, free: 30.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/3.451, allocations: 31.44 kB / 1.394 GB, free: 30.88 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/3.451, allocations: 0 / 1.394 GB, free: 30.88 MB / 442.7 MB Notification: Performance of Templates: time 0.01784/3.469, allocations: 8.89 MB / 1.402 GB, free: 22.11 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches