Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001188, allocations: 197.8 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000851/0.0008511, allocations: 91.72 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4301/0.4301, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002754, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4209, allocations: 62.96 MB / 0.5165 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.654/2.075, allocations: 0.6972 GB / 1.214 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/2.075, allocations: 78.77 kB / 1.214 GB, free: 120 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.131/2.206, allocations: 34.22 MB / 1.247 GB, free: 85.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.375e-06/2.206, allocations: 0 / 1.247 GB, free: 85.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.454e-05/2.206, allocations: 4 kB / 1.247 GB, free: 85.62 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006374/2.207, allocations: 419.6 kB / 1.248 GB, free: 85.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/2.207, allocations: 8.031 kB / 1.248 GB, free: 85.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/2.21, allocations: 188.5 kB / 1.248 GB, free: 84.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/2.21, allocations: 208.2 kB / 1.248 GB, free: 84.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/2.21, allocations: 8.547 kB / 1.248 GB, free: 84.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/2.21, allocations: 16.28 kB / 1.248 GB, free: 84.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/2.211, allocations: 197.8 kB / 1.248 GB, free: 84.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/2.211, allocations: 0 / 1.248 GB, free: 84.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/2.211, allocations: 8 kB / 1.248 GB, free: 84.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/2.211, allocations: 4 kB / 1.248 GB, free: 84.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/2.212, allocations: 203.9 kB / 1.248 GB, free: 84.29 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/2.214, allocations: 0.631 MB / 1.249 GB, free: 83.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/2.215, allocations: 162.5 kB / 1.249 GB, free: 83.44 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/2.215, allocations: 80.83 kB / 1.249 GB, free: 83.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/2.215, allocations: 101.1 kB / 1.249 GB, free: 83.24 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/2.215, allocations: 30.56 kB / 1.249 GB, free: 83.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 5.32e-06/2.215, allocations: 0 / 1.249 GB, free: 83.2 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009094/2.224, allocations: 1.468 MB / 1.251 GB, free: 81.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/2.224, allocations: 51.41 kB / 1.251 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/2.225, allocations: 121.8 kB / 1.251 GB, free: 81.42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/2.225, allocations: 29.7 kB / 1.251 GB, free: 81.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/2.225, allocations: 100.3 kB / 1.251 GB, free: 81.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/2.225, allocations: 67 kB / 1.251 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/2.225, allocations: 7.938 kB / 1.251 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/2.225, allocations: 322.8 kB / 1.251 GB, free: 80.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/2.225, allocations: 75.97 kB / 1.251 GB, free: 80.81 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/2.226, allocations: 120.2 kB / 1.252 GB, free: 80.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/2.226, allocations: 202.7 kB / 1.252 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.226, allocations: 0 / 1.252 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009842/2.227, allocations: 266.2 kB / 1.252 GB, free: 80.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/2.227, allocations: 8.094 kB / 1.252 GB, free: 80.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.227, allocations: 0 / 1.252 GB, free: 80.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/2.228, allocations: 28.77 kB / 1.252 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/2.228, allocations: 51.97 kB / 1.252 GB, free: 80.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000376/2.229, allocations: 0.5367 MB / 1.253 GB, free: 79.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/2.229, allocations: 8.125 kB / 1.253 GB, free: 79.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/2.229, allocations: 12 kB / 1.253 GB, free: 79.53 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/2.229, allocations: 134.3 kB / 1.253 GB, free: 79.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/2.229, allocations: 11.91 kB / 1.253 GB, free: 79.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/2.231, allocations: 288.9 kB / 1.253 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/2.231, allocations: 4 kB / 1.253 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/2.231, allocations: 0 / 1.253 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/2.231, allocations: 0 / 1.253 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/2.232, allocations: 0.6542 MB / 1.254 GB, free: 78.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.232, allocations: 0 / 1.254 GB, free: 78.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/2.233, allocations: 51.89 kB / 1.254 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/2.233, allocations: 24.78 kB / 1.254 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/2.233, allocations: 12.09 kB / 1.254 GB, free: 78.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009564/2.234, allocations: 1.261 MB / 1.255 GB, free: 76.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/2.234, allocations: 4.062 kB / 1.255 GB, free: 76.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/2.235, allocations: 430.5 kB / 1.255 GB, free: 76.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/2.235, allocations: 85.05 kB / 1.256 GB, free: 76.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/2.236, allocations: 8.062 kB / 1.256 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/2.236, allocations: 15.98 kB / 1.256 GB, free: 76.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/2.236, allocations: 15.92 kB / 1.256 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/2.236, allocations: 23.92 kB / 1.256 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.98e-05/2.236, allocations: 79.28 kB / 1.256 GB, free: 76.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.8e-07/2.236, allocations: 0 / 1.256 GB, free: 76.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001104/2.237, allocations: 175.8 kB / 1.256 GB, free: 76.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * 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.001802/2.239, allocations: 0.6192 MB / 1.256 GB, free: 75.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009817/2.24, allocations: 201.2 kB / 1.257 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.24, allocations: 192 / 1.257 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/2.241, allocations: 234.4 kB / 1.257 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/2.242, allocations: 49.22 kB / 1.257 GB, free: 74.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/2.243, allocations: 0.6064 MB / 1.258 GB, free: 74.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/2.243, allocations: 0.7049 MB / 1.258 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/2.244, allocations: 27.42 kB / 1.258 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/2.244, allocations: 0 / 1.258 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.01651/2.26, allocations: 7.101 MB / 1.265 GB, free: 66.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches