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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 118.8 kB / 17.79 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.001466/0.001467, 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.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 76.16 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4324, allocations: 62.45 MB / 0.5306 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2003/0.6328, allocations: 152.8 MB / 0.6798 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.6371, allocations: 3.243 MB / 0.683 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.6373, allocations: 0 / 0.683 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.6378, allocations: 63.64 kB / 0.683 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.641, allocations: 1.07 MB / 0.6841 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.6417, allocations: 191.5 kB / 0.6843 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.6423, allocations: 366.6 kB / 0.6846 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.6424, allocations: 13.11 kB / 0.6846 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.6427, allocations: 167.2 kB / 0.6848 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.643, allocations: 119.6 kB / 0.6849 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.643, allocations: 12 kB / 0.6849 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.6468, allocations: 1.527 MB / 0.6864 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.647, allocations: 83.75 kB / 0.6865 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.6472, allocations: 107.6 kB / 0.6866 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.6491, allocations: 1.013 MB / 0.6876 GB, free: 268 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.6491, allocations: 3.984 kB / 0.6876 GB, free: 264 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6492, allocations: 0 / 0.6876 GB, free: 264 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.6492, allocations: 0 / 0.6876 GB, free: 264 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.001047/0.6502, allocations: 0.5647 MB / 0.6881 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6503, allocations: 8.031 kB / 0.6881 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.705e-05/0.6504, allocations: 54.73 kB / 0.6882 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.6518, allocations: 204.5 kB / 0.6884 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.6523, allocations: 263.6 kB / 0.6886 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6523, allocations: 8.375 kB / 0.6887 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.6524, allocations: 24 kB / 0.6887 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.653, allocations: 388.8 kB / 0.689 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6531, allocations: 0 / 0.689 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.6531, allocations: 8 kB / 0.6891 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.6531, allocations: 8 kB / 0.6891 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.6538, allocations: 416.4 kB / 0.6895 GB, free: 14.24 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.001757/0.6555, allocations: 0.8215 MB / 0.6903 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.656, allocations: 231.6 kB / 0.6905 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.6562, allocations: 125.7 kB / 0.6906 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.6581, allocations: 0.9802 MB / 0.6916 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.6582, allocations: 38.5 kB / 0.6916 GB, free: 11.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.6582, allocations: 4 kB / 0.6916 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001327/0.6595, allocations: 384.2 kB / 0.692 GB, free: 11.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.6596, allocations: 81.11 kB / 0.692 GB, free: 11.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.6597, allocations: 121.7 kB / 0.6922 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.6598, allocations: 29.7 kB / 0.6922 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.6599, allocations: 112.6 kB / 0.6923 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.66, allocations: 126.9 kB / 0.6924 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6601, allocations: 62.03 kB / 0.6925 GB, free: 10.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.6604, allocations: 330.8 kB / 0.6928 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.6606, allocations: 104.1 kB / 0.6929 GB, free: 10.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.6609, allocations: 186.9 kB / 0.6931 GB, free: 10.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.6614, allocations: 321.4 kB / 0.6934 GB, free: 9.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6614, allocations: 3.938 kB / 0.6934 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007927/0.6622, allocations: 351.6 kB / 0.6937 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6622, allocations: 7.984 kB / 0.6937 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6623, allocations: 4 kB / 0.6937 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6623, allocations: 4 kB / 0.6937 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.6626, allocations: 71.91 kB / 0.6938 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.6627, allocations: 7.938 kB / 0.6938 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.6629, allocations: 35.77 kB / 0.6938 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.6629, allocations: 16.28 kB / 0.6939 GB, free: 9.352 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.0001546/0.6631, allocations: 145.7 kB / 0.694 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.6632, allocations: 19.91 kB / 0.694 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007024/0.6639, allocations: 334.1 kB / 0.6943 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.6639, allocations: 4 kB / 0.6943 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.664, allocations: 4 kB / 0.6943 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.664, allocations: 3.984 kB / 0.6943 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.6646, allocations: 339.1 kB / 0.6947 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6646, allocations: 0 / 0.6947 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.6649, allocations: 55.91 kB / 0.6947 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6649, allocations: 0 / 0.6947 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.665, allocations: 16 kB / 0.6947 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.665, allocations: 4 kB / 0.6947 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.665, allocations: 0 / 0.6947 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.6659, allocations: 0.5296 MB / 0.6953 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.6659, allocations: 89 kB / 0.6953 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.666, allocations: 8.062 kB / 0.6954 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.6663, allocations: 19.98 kB / 0.6954 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.6663, allocations: 15.97 kB / 0.6954 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.6664, allocations: 23.92 kB / 0.6954 GB, free: 7.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.6665, allocations: 91.58 kB / 0.6955 GB, free: 7.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6665, allocations: 0 / 0.6955 GB, free: 7.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009189/0.6674, allocations: 239.4 kB / 0.6957 GB, free: 7.332 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.002287/0.6697, allocations: 1.402 MB / 0.6971 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.6703, allocations: 278.4 kB / 0.6974 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6703, allocations: 3.938 kB / 0.6974 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.6707, allocations: 131.8 kB / 0.6975 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.6713, allocations: 96.92 kB / 0.6976 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.6752, allocations: 2.733 MB / 0.7002 GB, free: 2.523 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.6757, allocations: 0.7285 MB / 0.701 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.676, allocations: 85.89 kB / 0.701 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.6762, allocations: 63.42 kB / 0.7011 GB, free: 1.625 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.6762, allocations: 0 / 0.7011 GB, free: 1.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.7154, allocations: 10.91 MB / 0.7118 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/9.153, allocations: 2.812 kB / 0.7118 GB, free: 6.824 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches