Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002062/0.002062, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001076/0.001076, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.371e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.264, allocations: 338 MB / 0.6905 GB, free: 2.598 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/1.264, allocations: 98.55 kB / 0.6906 GB, free: 2.539 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5223/1.787, allocations: 86.01 MB / 0.7746 GB, free: 94.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.787, allocations: 4 kB / 0.7746 GB, free: 94.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/1.787, allocations: 4 kB / 0.7746 GB, free: 94.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000816/1.787, allocations: 0.5313 MB / 0.7751 GB, free: 94.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.788, allocations: 8.031 kB / 0.7751 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/1.788, allocations: 39.7 kB / 0.7752 GB, free: 94.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/1.788, allocations: 282.5 kB / 0.7754 GB, free: 93.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.788, allocations: 24.56 kB / 0.7754 GB, free: 93.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/1.788, allocations: 24 kB / 0.7755 GB, free: 93.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/1.789, allocations: 289.4 kB / 0.7757 GB, free: 93.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.789, allocations: 0 / 0.7757 GB, free: 93.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/1.789, allocations: 12 kB / 0.7758 GB, free: 93.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.789, allocations: 11.98 kB / 0.7758 GB, free: 93.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/1.79, allocations: 190.2 kB / 0.7759 GB, free: 93.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/1.792, allocations: 1.285 MB / 0.7772 GB, free: 92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/1.792, allocations: 183.2 kB / 0.7774 GB, free: 91.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/1.792, allocations: 85.19 kB / 0.7775 GB, free: 91.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/1.793, allocations: 178.4 kB / 0.7776 GB, free: 91.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/1.793, allocations: 30.75 kB / 0.7777 GB, free: 91.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/1.793, allocations: 0 / 0.7777 GB, free: 91.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.00319/1.796, allocations: 0.9062 MB / 0.7785 GB, free: 90.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/1.796, allocations: 51.41 kB / 0.7786 GB, free: 90.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/1.796, allocations: 234.8 kB / 0.7788 GB, free: 90.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/1.796, allocations: 33.7 kB / 0.7788 GB, free: 90.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/1.796, allocations: 234.4 kB / 0.7791 GB, free: 89.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/1.796, allocations: 90.66 kB / 0.7792 GB, free: 89.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/1.796, allocations: 8 kB / 0.7792 GB, free: 89.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/1.797, allocations: 326.8 kB / 0.7795 GB, free: 89.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/1.797, allocations: 79.98 kB / 0.7796 GB, free: 89.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/1.797, allocations: 175.7 kB / 0.7797 GB, free: 89.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/1.797, allocations: 104.5 kB / 0.7798 GB, free: 89.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.797, allocations: 4 kB / 0.7798 GB, free: 89.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008168/1.798, allocations: 424.2 kB / 0.7802 GB, free: 88.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.798, allocations: 8 kB / 0.7802 GB, free: 88.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.798, allocations: 11.95 kB / 0.7802 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/1.798, allocations: 41.7 kB / 0.7803 GB, free: 88.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/1.799, allocations: 79.89 kB / 0.7804 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/1.801, allocations: 2.56 MB / 0.7829 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/1.801, allocations: 20 kB / 0.7829 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.801, allocations: 15.98 kB / 0.7829 GB, free: 85.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.801, allocations: 125 kB / 0.783 GB, free: 85.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/1.801, allocations: 35.58 kB / 0.7831 GB, free: 85.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007433/1.802, allocations: 350.7 kB / 0.7834 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.802, allocations: 4 kB / 0.7834 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.802, allocations: 7.984 kB / 0.7834 GB, free: 85.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005659/1.803, allocations: 0.6109 MB / 0.784 GB, free: 84.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.804, allocations: 0.7508 MB / 0.7847 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.804, allocations: 0 / 0.7847 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/1.805, allocations: 59.94 kB / 0.7848 GB, free: 83.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/1.805, allocations: 24.8 kB / 0.7848 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/1.805, allocations: 11.98 kB / 0.7848 GB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008146/1.806, allocations: 1.284 MB / 0.7861 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.806, allocations: 0 / 0.7861 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/1.806, allocations: 0.5173 MB / 0.7866 GB, free: 81.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.806, allocations: 112.7 kB / 0.7867 GB, free: 81.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/1.807, allocations: 0 / 0.7867 GB, free: 81.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/1.807, allocations: 15.98 kB / 0.7867 GB, free: 81.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/1.807, allocations: 15.98 kB / 0.7867 GB, free: 81.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/1.807, allocations: 15.98 kB / 0.7867 GB, free: 81.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002237/1.807, allocations: 187.2 kB / 0.7869 GB, free: 81.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.807, allocations: 0 / 0.7869 GB, free: 81.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006558/1.808, allocations: 120 kB / 0.787 GB, free: 80.99 MB / 426.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): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/1.808, allocations: 246.1 kB / 0.7873 GB, free: 80.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000788/1.809, allocations: 433.1 kB / 0.7877 GB, free: 80.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.809, allocations: 4.812 kB / 0.7877 GB, free: 80.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/1.81, allocations: 218.6 kB / 0.7879 GB, free: 80.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.811, allocations: 152.4 kB / 0.788 GB, free: 79.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.812, allocations: 0.5032 MB / 0.7885 GB, free: 79.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.812, allocations: 0.7646 MB / 0.7893 GB, free: 78.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/1.813, allocations: 47.36 kB / 0.7893 GB, free: 78.54 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/1.813, allocations: 0 / 0.7893 GB, free: 78.54 MB / 426.7 MB Notification: Performance of Templates: time 0.01261/1.825, allocations: 7.03 MB / 0.7962 GB, free: 71.51 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches