Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.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_trunk_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_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009569/0.000957, allocations: 198.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007991/0.0007991, allocations: 101.2 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3996/0.3996, allocations: 44.81 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.000275, allocations: 4 kB / 465.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4369, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.732/2.169, allocations: 0.709 GB / 1.225 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/2.17, allocations: 73.05 kB / 1.226 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08732/2.257, allocations: 40.64 MB / 1.265 GB, free: 66.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.054e-06/2.257, allocations: 4 kB / 1.265 GB, free: 66.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.599e-05/2.257, allocations: 4 kB / 1.265 GB, free: 66.66 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001079/2.258, allocations: 0.5229 MB / 1.266 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/2.258, allocations: 12.81 kB / 1.266 GB, free: 66.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/2.261, allocations: 372.2 kB / 1.266 GB, free: 65.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/2.262, allocations: 260.1 kB / 1.266 GB, free: 65.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/2.262, allocations: 16.75 kB / 1.266 GB, free: 65.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/2.262, allocations: 20.28 kB / 1.266 GB, free: 65.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/2.263, allocations: 482.1 kB / 1.267 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/2.263, allocations: 192 / 1.267 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/2.263, allocations: 11.94 kB / 1.267 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/2.263, allocations: 4 kB / 1.267 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009313/2.264, allocations: 0.4918 MB / 1.267 GB, free: 64.39 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.002073/2.266, allocations: 0.9774 MB / 1.268 GB, free: 63.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/2.266, allocations: 290.3 kB / 1.269 GB, free: 63.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/2.267, allocations: 141.7 kB / 1.269 GB, free: 62.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/2.268, allocations: 0.9685 MB / 1.27 GB, free: 61.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/2.268, allocations: 38.56 kB / 1.27 GB, free: 61.74 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/2.268, allocations: 0 / 1.27 GB, free: 61.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29): time 0.0009528/2.269, allocations: 407.7 kB / 1.27 GB, free: 61.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/2.269, allocations: 81.11 kB / 1.27 GB, free: 61.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/2.269, allocations: 113.8 kB / 1.27 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/2.269, allocations: 33.7 kB / 1.27 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/2.269, allocations: 112.4 kB / 1.27 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/2.27, allocations: 102.5 kB / 1.271 GB, free: 60.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/2.27, allocations: 12 kB / 1.271 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/2.27, allocations: 322.8 kB / 1.271 GB, free: 60.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/2.27, allocations: 116.6 kB / 1.271 GB, free: 60.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/2.27, allocations: 199.4 kB / 1.271 GB, free: 60.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/2.271, allocations: 334.1 kB / 1.271 GB, free: 59.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.271, allocations: 3.938 kB / 1.271 GB, free: 59.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006713/2.271, allocations: 366.6 kB / 1.272 GB, free: 59.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/2.271, allocations: 8 kB / 1.272 GB, free: 59.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/2.271, allocations: 8.25 kB / 1.272 GB, free: 59.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/2.271, allocations: 8 kB / 1.272 GB, free: 59.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/2.272, allocations: 75.89 kB / 1.272 GB, free: 59.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/2.272, allocations: 4 kB / 1.272 GB, free: 59.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/2.272, allocations: 35.67 kB / 1.272 GB, free: 59.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/2.272, allocations: 16 kB / 1.272 GB, free: 59.3 MB / 0.5417 GB 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.0001944/2.272, allocations: 141.8 kB / 1.272 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/2.273, allocations: 19.81 kB / 1.272 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/2.273, allocations: 371.1 kB / 1.272 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/2.273, allocations: 4 kB / 1.272 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/2.273, allocations: 0 / 1.272 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/2.273, allocations: 7.922 kB / 1.272 GB, free: 58.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/2.274, allocations: 372.6 kB / 1.273 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/2.274, allocations: 3.938 kB / 1.273 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/2.274, allocations: 55.95 kB / 1.273 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/2.274, allocations: 7.938 kB / 1.273 GB, free: 58.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/2.274, allocations: 8 kB / 1.273 GB, free: 58.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/2.274, allocations: 8 kB / 1.273 GB, free: 58.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/2.274, allocations: 3.938 kB / 1.273 GB, free: 58.26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/2.275, allocations: 0.5414 MB / 1.273 GB, free: 57.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/2.275, allocations: 96.8 kB / 1.274 GB, free: 57.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/2.275, allocations: 12.05 kB / 1.274 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/2.276, allocations: 19.94 kB / 1.274 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/2.276, allocations: 23.97 kB / 1.274 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/2.276, allocations: 15.98 kB / 1.274 GB, free: 57.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.4e-05/2.276, allocations: 95.84 kB / 1.274 GB, free: 57.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/2.276, allocations: 0 / 1.274 GB, free: 57.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001244/2.277, allocations: 267.8 kB / 1.274 GB, free: 57.16 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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.002117/2.279, allocations: 0.7539 MB / 1.275 GB, free: 56.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007001/2.28, allocations: 295.7 kB / 1.275 GB, free: 56.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/2.28, allocations: 0 / 1.275 GB, free: 56.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/2.28, allocations: 147.9 kB / 1.275 GB, free: 55.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/2.281, allocations: 92.34 kB / 1.275 GB, free: 55.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/2.282, allocations: 0.9279 MB / 1.276 GB, free: 54.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/2.283, allocations: 0.7365 MB / 1.277 GB, free: 54.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/2.283, allocations: 35.42 kB / 1.277 GB, free: 54.11 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/2.283, allocations: 0 / 1.277 GB, free: 54.11 MB / 0.5417 GB Notification: Performance of Templates: time 0.01267/2.295, allocations: 8.764 MB / 1.285 GB, free: 45.35 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches