Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002247/0.002247, allocations: 182.4 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.097/2.097, 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.001092/0.001092, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2773/0.2773, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.973e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.328/2.445, allocations: 0.727 GB / 1.2 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/2.445, allocations: 79.05 kB / 1.2 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1137/2.559, allocations: 33.45 MB / 1.232 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/2.559, allocations: 0 / 1.232 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.213e-05/2.559, allocations: 0 / 1.232 GB, free: 77.97 MB / 0.5105 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.0005347/2.559, allocations: 409.9 kB / 1.233 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/2.559, allocations: 12.03 kB / 1.233 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/2.562, allocations: 181.3 kB / 1.233 GB, free: 77.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/2.563, allocations: 209.5 kB / 1.233 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/2.563, allocations: 7.562 kB / 1.233 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/2.563, allocations: 4 kB / 1.233 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/2.563, allocations: 193.3 kB / 1.233 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/2.563, allocations: 0 / 1.233 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/2.563, allocations: 7.453 kB / 1.233 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/2.563, allocations: 4 kB / 1.233 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/2.564, allocations: 195.2 kB / 1.234 GB, free: 76.85 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.001946/2.566, allocations: 0.633 MB / 1.234 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/2.566, allocations: 152.2 kB / 1.234 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/2.566, allocations: 73.61 kB / 1.234 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/2.567, allocations: 100.8 kB / 1.235 GB, free: 76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/2.567, allocations: 34.56 kB / 1.235 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/2.567, allocations: 0 / 1.235 GB, free: 75.96 MB / 0.5105 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.007443/2.574, allocations: 1.213 MB / 1.236 GB, free: 74.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/2.574, allocations: 51.41 kB / 1.236 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/2.574, allocations: 104.7 kB / 1.236 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/2.574, allocations: 28.95 kB / 1.236 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/2.574, allocations: 170.7 kB / 1.236 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/2.574, allocations: 69.55 kB / 1.236 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/2.575, allocations: 3.5 kB / 1.236 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/2.575, allocations: 318.3 kB / 1.237 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/2.575, allocations: 72.81 kB / 1.237 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/2.575, allocations: 106 kB / 1.237 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/2.575, allocations: 96.95 kB / 1.237 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/2.575, allocations: 4 kB / 1.237 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006387/2.576, allocations: 245.8 kB / 1.237 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/2.576, allocations: 4 kB / 1.237 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/2.576, allocations: 0 / 1.237 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/2.576, allocations: 24.72 kB / 1.237 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/2.577, allocations: 51.91 kB / 1.237 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003222/2.577, allocations: 0.5435 MB / 1.238 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/2.578, allocations: 7.031 kB / 1.238 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/2.578, allocations: 11.98 kB / 1.238 GB, free: 73.07 MB / 0.5105 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 () * 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.0001168/2.578, allocations: 120.5 kB / 1.238 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/2.578, allocations: 12 kB / 1.238 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008394/2.579, allocations: 274.3 kB / 1.238 GB, free: 72.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/2.579, allocations: 7.953 kB / 1.238 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/2.579, allocations: 0 / 1.238 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/2.579, allocations: 3.938 kB / 1.238 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/2.58, allocations: 0.6413 MB / 1.239 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.58, allocations: 4 kB / 1.239 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/2.581, allocations: 47.53 kB / 1.239 GB, free: 72.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/2.581, allocations: 16.84 kB / 1.239 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/2.581, allocations: 11.3 kB / 1.239 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008119/2.582, allocations: 1.263 MB / 1.24 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.582, allocations: 4.031 kB / 1.24 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/2.582, allocations: 442.3 kB / 1.24 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/2.583, allocations: 92.91 kB / 1.241 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/2.583, allocations: 11.38 kB / 1.241 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/2.583, allocations: 11.55 kB / 1.241 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/2.583, allocations: 19.98 kB / 1.241 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/2.583, allocations: 11.36 kB / 1.241 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.761e-05/2.583, allocations: 87.22 kB / 1.241 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/2.583, allocations: 0 / 1.241 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008252/2.584, allocations: 161.2 kB / 1.241 GB, free: 69.95 MB / 0.5105 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 () * 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.001402/2.585, allocations: 0.6269 MB / 1.241 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006678/2.586, allocations: 195.3 kB / 1.242 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.586, allocations: 0 / 1.242 GB, free: 69.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/2.587, allocations: 210.9 kB / 1.242 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/2.587, allocations: 50.28 kB / 1.242 GB, free: 68.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/2.588, allocations: 348 kB / 1.242 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/2.588, allocations: 0.7088 MB / 1.243 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/2.588, allocations: 31.11 kB / 1.243 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/2.588, allocations: 0 / 1.243 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.01378/2.602, allocations: 7.393 MB / 1.25 GB, free: 60.48 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches