Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001095, allocations: 117.2 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 71.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4395, allocations: 62.43 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1861/0.6256, allocations: 152.8 MB / 0.6802 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.6299, allocations: 3.243 MB / 0.6834 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.6301, allocations: 0 / 0.6834 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.6305, allocations: 67.58 kB / 0.6834 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.6338, allocations: 1.07 MB / 0.6845 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.6345, allocations: 198.7 kB / 0.6847 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.6351, allocations: 362.6 kB / 0.685 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.6351, allocations: 5.125 kB / 0.685 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.6355, allocations: 163.2 kB / 0.6852 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.6358, allocations: 119.5 kB / 0.6853 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.6359, allocations: 16 kB / 0.6853 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.639, allocations: 1.523 MB / 0.6868 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.6392, allocations: 83.77 kB / 0.6869 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.6394, allocations: 107.6 kB / 0.687 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.6415, allocations: 1.018 MB / 0.688 GB, free: 360 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.6415, allocations: 0 / 0.688 GB, free: 360 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6415, allocations: 3.938 kB / 0.688 GB, free: 356 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.6415, allocations: 0 / 0.688 GB, free: 356 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001236/0.6427, allocations: 0.5569 MB / 0.6885 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6428, allocations: 12.03 kB / 0.6885 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.6443, allocations: 208.6 kB / 0.6887 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.6446, allocations: 251.8 kB / 0.689 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.6447, allocations: 24.31 kB / 0.689 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.6447, allocations: 19.94 kB / 0.689 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.6454, allocations: 392.1 kB / 0.6894 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.6454, allocations: 0 / 0.6894 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.6455, allocations: 8 kB / 0.6894 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.6455, allocations: 11.98 kB / 0.6894 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.6461, allocations: 416.4 kB / 0.6898 GB, free: 14.38 MB / 0.545 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.001739/0.6478, allocations: 0.8302 MB / 0.6906 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.6482, allocations: 217.1 kB / 0.6908 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.6484, allocations: 133.6 kB / 0.6909 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/0.6502, allocations: 0.9685 MB / 0.6919 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6502, allocations: 42.55 kB / 0.6919 GB, free: 11.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.6502, allocations: 0 / 0.6919 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001222/0.6515, allocations: 384.1 kB / 0.6923 GB, free: 11.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.6515, allocations: 85.11 kB / 0.6924 GB, free: 11.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.6516, allocations: 113.8 kB / 0.6925 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.6517, allocations: 33.7 kB / 0.6925 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.6518, allocations: 116.5 kB / 0.6926 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6519, allocations: 119 kB / 0.6927 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.652, allocations: 70 kB / 0.6928 GB, free: 11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6522, allocations: 334.8 kB / 0.6931 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.6524, allocations: 100.1 kB / 0.6932 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.6526, allocations: 186.8 kB / 0.6934 GB, free: 10.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.6531, allocations: 316.2 kB / 0.6937 GB, free: 10 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6531, allocations: 0 / 0.6937 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000642/0.6538, allocations: 352.7 kB / 0.694 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6538, allocations: 18.38 kB / 0.694 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6538, allocations: 4 kB / 0.6941 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.6538, allocations: 4 kB / 0.6941 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.6542, allocations: 75.84 kB / 0.6941 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.6542, allocations: 7.984 kB / 0.6941 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.6544, allocations: 23.84 kB / 0.6942 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.6545, allocations: 20 kB / 0.6942 GB, free: 9.504 MB / 0.545 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.6547, allocations: 153.8 kB / 0.6943 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6548, allocations: 19.91 kB / 0.6943 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006831/0.6555, allocations: 330.1 kB / 0.6947 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6555, allocations: 7.984 kB / 0.6947 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6555, allocations: 0 / 0.6947 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6555, allocations: 4 kB / 0.6947 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.6561, allocations: 339.1 kB / 0.695 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6562, allocations: 0 / 0.695 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.6565, allocations: 55.91 kB / 0.695 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6565, allocations: 4 kB / 0.695 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.6565, allocations: 11.98 kB / 0.6951 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.6566, allocations: 4 kB / 0.6951 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6566, allocations: 4 kB / 0.6951 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.6573, allocations: 0.5219 MB / 0.6956 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.6574, allocations: 89 kB / 0.6957 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.6575, allocations: 12.05 kB / 0.6957 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.6578, allocations: 12 kB / 0.6957 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.6578, allocations: 23.97 kB / 0.6957 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.6579, allocations: 15.98 kB / 0.6957 GB, free: 7.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.658, allocations: 91.2 kB / 0.6958 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.658, allocations: 0 / 0.6958 GB, free: 7.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001016/0.659, allocations: 243.3 kB / 0.696 GB, free: 7.484 MB / 0.545 GB 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.6605, allocations: 454.2 kB / 0.6965 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006106/0.6611, allocations: 267.7 kB / 0.6967 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.6611, allocations: 0.625 kB / 0.6967 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.6614, allocations: 134 kB / 0.6969 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.662, allocations: 96.52 kB / 0.697 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.6633, allocations: 0.7451 MB / 0.6977 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.6637, allocations: 0.7285 MB / 0.6984 GB, free: 5.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003402/0.664, allocations: 77.78 kB / 0.6985 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.6642, allocations: 35.42 kB / 0.6985 GB, free: 4.906 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6642, allocations: 0 / 0.6985 GB, free: 4.906 MB / 0.545 GB Notification: Performance of Templates: time 0.01526/0.6794, allocations: 8.571 MB / 0.7069 GB, free: 12.38 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches