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.001241/0.001241, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2633/0.2633, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 76.2 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3784, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2192/0.5977, allocations: 152.8 MB / 0.6797 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.6015, allocations: 3.255 MB / 0.6829 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.6017, allocations: 0 / 0.6829 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.6021, allocations: 63.64 kB / 0.6829 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.6048, allocations: 1.076 MB / 0.684 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.6053, allocations: 182.2 kB / 0.6842 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00049/0.6058, allocations: 370.6 kB / 0.6845 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.6059, allocations: 13.12 kB / 0.6845 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.6061, allocations: 159.4 kB / 0.6847 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.6064, allocations: 123.5 kB / 0.6848 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.6064, allocations: 12 kB / 0.6848 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.6091, allocations: 1.52 MB / 0.6863 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.6092, allocations: 75.83 kB / 0.6864 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.6094, allocations: 115.6 kB / 0.6865 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.6112, allocations: 1.01 MB / 0.6875 GB, free: 468 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6112, allocations: 4 kB / 0.6875 GB, free: 464 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6112, allocations: 3.938 kB / 0.6875 GB, free: 460 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.6112, allocations: 3.938 kB / 0.6875 GB, free: 456 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.001044/0.6123, allocations: 0.55 MB / 0.688 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6123, allocations: 8.031 kB / 0.688 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.6124, allocations: 54.73 kB / 0.6881 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.6139, allocations: 216.4 kB / 0.6883 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.6143, allocations: 243.8 kB / 0.6885 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.6143, allocations: 20.31 kB / 0.6885 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.6144, allocations: 16 kB / 0.6886 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.615, allocations: 388.1 kB / 0.6889 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.615, allocations: 0 / 0.6889 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.6151, allocations: 15.98 kB / 0.6889 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.6151, allocations: 11.98 kB / 0.6889 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.6157, allocations: 424.3 kB / 0.6894 GB, free: 14.43 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.001625/0.6173, allocations: 0.8173 MB / 0.6902 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.6177, allocations: 237 kB / 0.6904 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.6179, allocations: 125.7 kB / 0.6905 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/0.6196, allocations: 0.9723 MB / 0.6914 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.6197, allocations: 34.56 kB / 0.6915 GB, free: 11.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.6197, allocations: 0 / 0.6915 GB, free: 11.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.00119/0.6209, allocations: 373.6 kB / 0.6918 GB, free: 11.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.621, allocations: 81.11 kB / 0.6919 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.6211, allocations: 121.8 kB / 0.692 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.6211, allocations: 29.7 kB / 0.6921 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.6212, allocations: 120.3 kB / 0.6922 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.6213, allocations: 110.4 kB / 0.6923 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6214, allocations: 58.03 kB / 0.6923 GB, free: 11.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6216, allocations: 330.8 kB / 0.6926 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.6218, allocations: 104 kB / 0.6927 GB, free: 10.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.6221, allocations: 194.8 kB / 0.6929 GB, free: 10.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.6225, allocations: 323.9 kB / 0.6932 GB, free: 10.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.6226, allocations: 4 kB / 0.6932 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006419/0.6232, allocations: 351.6 kB / 0.6936 GB, free: 9.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6232, allocations: 8 kB / 0.6936 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6232, allocations: 3.984 kB / 0.6936 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.6233, allocations: 12.31 kB / 0.6936 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.6236, allocations: 71.91 kB / 0.6937 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.6236, allocations: 4.312 kB / 0.6937 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.6238, allocations: 31.67 kB / 0.6937 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.6239, allocations: 20 kB / 0.6937 GB, free: 9.559 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.0001378/0.624, allocations: 149.6 kB / 0.6939 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6241, allocations: 19.75 kB / 0.6939 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.6248, allocations: 326.3 kB / 0.6942 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.6248, allocations: 7.938 kB / 0.6942 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6248, allocations: 0 / 0.6942 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6248, allocations: 7.984 kB / 0.6942 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.6254, allocations: 346.9 kB / 0.6945 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6254, allocations: 0 / 0.6945 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.6257, allocations: 55.97 kB / 0.6946 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6258, allocations: 0 / 0.6946 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.6258, allocations: 8 kB / 0.6946 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6258, allocations: 4 kB / 0.6946 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6258, allocations: 3.938 kB / 0.6946 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.6266, allocations: 0.5219 MB / 0.6951 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.6267, allocations: 92.95 kB / 0.6952 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.6267, allocations: 8.047 kB / 0.6952 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.627, allocations: 15.98 kB / 0.6952 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.6271, allocations: 23.88 kB / 0.6953 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.6271, allocations: 19.92 kB / 0.6953 GB, free: 7.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.6272, allocations: 87.28 kB / 0.6954 GB, free: 7.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6272, allocations: 4 kB / 0.6954 GB, free: 7.773 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008781/0.6281, allocations: 231.8 kB / 0.6956 GB, free: 7.547 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.002194/0.6303, allocations: 1.402 MB / 0.697 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.6308, allocations: 270.9 kB / 0.6972 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6308, allocations: 64 / 0.6972 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.6311, allocations: 135.8 kB / 0.6973 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.6317, allocations: 98.8 kB / 0.6974 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.6353, allocations: 2.73 MB / 0.7001 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.6356, allocations: 0.7324 MB / 0.7008 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.6359, allocations: 81.89 kB / 0.7009 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.6361, allocations: 59.42 kB / 0.701 GB, free: 1.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.6361, allocations: 0 / 0.701 GB, free: 1.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.6703, allocations: 10.98 MB / 0.7117 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.422, allocations: 6.344 kB / 0.7117 GB, free: 6.977 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