Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.006/2.006, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00114/0.00114, allocations: 94.8 kB / 270.9 MB, free: 13.38 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.3068/0.3068, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006658/0.000666, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1273, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5653/0.6927, allocations: 125.9 MB / 0.6017 GB, free: 12.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.6976, allocations: 2.515 MB / 0.6042 GB, free: 10.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.6978, allocations: 4 kB / 0.6042 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.6981, allocations: 43.78 kB / 0.6042 GB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.701, allocations: 0.7088 MB / 0.6049 GB, free: 9.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.7018, allocations: 156.2 kB / 0.6051 GB, free: 9.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.7023, allocations: 215.5 kB / 0.6053 GB, free: 9.227 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.7024, allocations: 13.12 kB / 0.6053 GB, free: 9.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.7028, allocations: 159.5 kB / 0.6054 GB, free: 9.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.7031, allocations: 79.75 kB / 0.6055 GB, free: 8.977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.7031, allocations: 8 kB / 0.6055 GB, free: 8.969 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.7073, allocations: 1.092 MB / 0.6066 GB, free: 7.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.7075, allocations: 67.84 kB / 0.6067 GB, free: 7.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.7077, allocations: 61.64 kB / 0.6067 GB, free: 7.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.7095, allocations: 0.5748 MB / 0.6073 GB, free: 7.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7096, allocations: 0 / 0.6073 GB, free: 7.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7096, allocations: 0 / 0.6073 GB, free: 7.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.7096, allocations: 0 / 0.6073 GB, free: 7.168 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001155/0.7107, allocations: 0.5031 MB / 0.6078 GB, free: 6.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.7108, allocations: 8.031 kB / 0.6078 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.713, allocations: 203.5 kB / 0.608 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.7134, allocations: 238.7 kB / 0.6082 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.7135, allocations: 12.38 kB / 0.6082 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.7136, allocations: 27.94 kB / 0.6082 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009337/0.7145, allocations: 373.5 kB / 0.6086 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7145, allocations: 0 / 0.6086 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.7146, allocations: 4 kB / 0.6086 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.7146, allocations: 11.98 kB / 0.6086 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.7156, allocations: 411.6 kB / 0.609 GB, free: 5.305 MB / 410.7 MB 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.002733/0.7184, allocations: 0.8084 MB / 0.6098 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.719, allocations: 225.6 kB / 0.61 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/0.7211, allocations: 0.6672 MB / 0.6107 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.7211, allocations: 38.56 kB / 0.6107 GB, free: 3.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.357e-06/0.7212, allocations: 0 / 0.6107 GB, free: 3.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001965/0.7231, allocations: 370.4 kB / 0.611 GB, free: 3.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.7232, allocations: 77.11 kB / 0.6111 GB, free: 2.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.7234, allocations: 117.8 kB / 0.6112 GB, free: 2.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.7235, allocations: 33.7 kB / 0.6113 GB, free: 2.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.7236, allocations: 178.9 kB / 0.6114 GB, free: 2.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.7237, allocations: 106.4 kB / 0.6115 GB, free: 2.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.7238, allocations: 8 kB / 0.6115 GB, free: 2.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7239, allocations: 322.8 kB / 0.6118 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.7243, allocations: 96.59 kB / 0.6119 GB, free: 2.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.7247, allocations: 191.4 kB / 0.6121 GB, free: 1.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.7251, allocations: 116.5 kB / 0.6122 GB, free: 1.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7251, allocations: 0 / 0.6122 GB, free: 1.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001047/0.7262, allocations: 349.4 kB / 0.6126 GB, free: 1.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.7262, allocations: 11.39 kB / 0.6126 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.7263, allocations: 4 kB / 0.6126 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.7263, allocations: 4 kB / 0.6126 GB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.727, allocations: 75.84 kB / 0.6127 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.727, allocations: 7.984 kB / 0.6127 GB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.7274, allocations: 23.84 kB / 0.6127 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.7275, allocations: 19.98 kB / 0.6127 GB, free: 1.227 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 0.0002252/0.7277, allocations: 145.7 kB / 0.6128 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.7279, allocations: 15.81 kB / 0.6129 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.7291, allocations: 331.1 kB / 0.6132 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.7291, allocations: 7.938 kB / 0.6132 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.7291, allocations: 0 / 0.6132 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7292, allocations: 0 / 0.6132 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.7301, allocations: 337.2 kB / 0.6135 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7301, allocations: 0 / 0.6135 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.7308, allocations: 63.91 kB / 0.6136 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7308, allocations: 0 / 0.6136 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.7309, allocations: 15.94 kB / 0.6136 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.7309, allocations: 4 kB / 0.6136 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7309, allocations: 3.984 kB / 0.6136 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.7322, allocations: 0.5128 MB / 0.6141 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.7323, allocations: 88.95 kB / 0.6142 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.7324, allocations: 12.02 kB / 0.6142 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.733, allocations: 15.97 kB / 0.6142 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.733, allocations: 19.97 kB / 0.6142 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.7331, allocations: 19.98 kB / 0.6142 GB, free: 15.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.596e-05/0.7332, allocations: 87.27 kB / 0.6143 GB, free: 15.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7332, allocations: 0 / 0.6143 GB, free: 15.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001085/0.7343, allocations: 227.7 kB / 0.6145 GB, free: 15.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * 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.001464/0.7358, allocations: 354.2 kB / 0.6149 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008821/0.7367, allocations: 264 kB / 0.6151 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.7367, allocations: 4.625 kB / 0.6151 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.7371, allocations: 127.8 kB / 0.6153 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.738, allocations: 75.86 kB / 0.6153 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.7399, allocations: 0.9216 MB / 0.6162 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.7404, allocations: 0.7326 MB / 0.6169 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.7407, allocations: 35.42 kB / 0.617 GB, free: 12.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.001e-06/0.7407, allocations: 4 kB / 0.617 GB, free: 12.68 MB / 426.7 MB Notification: Performance of Templates: time 0.01652/0.7572, allocations: 6.368 MB / 0.6232 GB, free: 6.305 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches