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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 205.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.88 kB / 0.4961 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.348, allocations: 66.08 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1727/0.5207, allocations: 131.8 MB / 0.6894 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.5247, allocations: 2.924 MB / 0.6923 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.5248, allocations: 0 / 0.6923 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.5252, allocations: 51.67 kB / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.528, allocations: 1.097 MB / 0.6934 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.5285, allocations: 198.9 kB / 0.6936 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.5289, allocations: 370.6 kB / 0.6939 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.529, allocations: 9.297 kB / 0.6939 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.5293, allocations: 171.4 kB / 0.6941 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.5295, allocations: 119.5 kB / 0.6942 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.5295, allocations: 12 kB / 0.6942 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.5321, allocations: 1.332 MB / 0.6955 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.5322, allocations: 83.77 kB / 0.6956 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.5323, allocations: 103.6 kB / 0.6957 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.5338, allocations: 0.9721 MB / 0.6966 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5338, allocations: 0 / 0.6966 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5338, allocations: 0 / 0.6966 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.5338, allocations: 0 / 0.6966 GB, free: 8.262 MB / 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.0009327/0.5347, allocations: 0.4932 MB / 0.6971 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5348, allocations: 8.031 kB / 0.6971 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.5349, allocations: 58.73 kB / 0.6972 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5362, allocations: 204.6 kB / 0.6974 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.5366, allocations: 193.8 kB / 0.6976 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.5366, allocations: 16.38 kB / 0.6976 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.5367, allocations: 23.92 kB / 0.6976 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.5374, allocations: 0.5837 MB / 0.6982 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5374, allocations: 4 kB / 0.6982 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.5375, allocations: 8 kB / 0.6982 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.5375, allocations: 8 kB / 0.6982 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.5381, allocations: 416.4 kB / 0.6986 GB, free: 6.145 MB / 0.5294 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.001768/0.5399, allocations: 0.7543 MB / 0.6993 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.5403, allocations: 221.1 kB / 0.6995 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.5405, allocations: 125.6 kB / 0.6997 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.542, allocations: 317.6 kB / 0.7 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.542, allocations: 34.56 kB / 0.7 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.542, allocations: 0 / 0.7 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001232/0.5433, allocations: 381.9 kB / 0.7004 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5433, allocations: 85.11 kB / 0.7004 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5434, allocations: 113.8 kB / 0.7006 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.5435, allocations: 33.7 kB / 0.7006 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.5435, allocations: 108.6 kB / 0.7007 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5436, allocations: 127 kB / 0.7008 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5437, allocations: 58.03 kB / 0.7009 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5439, allocations: 330.8 kB / 0.7012 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5441, allocations: 104 kB / 0.7013 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.5444, allocations: 190.8 kB / 0.7015 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.5448, allocations: 314.8 kB / 0.7018 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5448, allocations: 0 / 0.7018 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000645/0.5455, allocations: 355.3 kB / 0.7021 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5455, allocations: 4 kB / 0.7021 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5455, allocations: 7.984 kB / 0.7021 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5455, allocations: 4 kB / 0.7021 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.5459, allocations: 75.84 kB / 0.7022 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5459, allocations: 4 kB / 0.7022 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.5461, allocations: 32.08 kB / 0.7022 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.5461, allocations: 27.98 kB / 0.7022 GB, free: 2.188 MB / 0.5294 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.0001496/0.5463, allocations: 149.6 kB / 0.7024 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.5464, allocations: 15.91 kB / 0.7024 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/0.5471, allocations: 326.4 kB / 0.7027 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.5471, allocations: 8 kB / 0.7027 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5471, allocations: 0 / 0.7027 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5471, allocations: 3.984 kB / 0.7027 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.5477, allocations: 290.1 kB / 0.703 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5477, allocations: 4 kB / 0.703 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.548, allocations: 51.91 kB / 0.7031 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.548, allocations: 4 kB / 0.7031 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.548, allocations: 15.98 kB / 0.7031 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.548, allocations: 0 / 0.7031 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.548, allocations: 0 / 0.7031 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.5488, allocations: 0.5304 MB / 0.7036 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.5489, allocations: 15.89 kB / 0.7036 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.5489, allocations: 15.98 kB / 0.7036 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.5492, allocations: 15.98 kB / 0.7036 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.5493, allocations: 15.97 kB / 0.7037 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.5493, allocations: 19.92 kB / 0.7037 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.5494, allocations: 99.25 kB / 0.7038 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5494, allocations: 0 / 0.7038 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007865/0.5501, allocations: 239.4 kB / 0.704 GB, free: 324 kB / 0.5294 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.001992/0.5521, allocations: 1.412 MB / 0.7054 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.5527, allocations: 259.8 kB / 0.7056 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5527, allocations: 4 kB / 0.7056 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.5529, allocations: 135.8 kB / 0.7058 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.5535, allocations: 95.42 kB / 0.7059 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.5571, allocations: 2.733 MB / 0.7085 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.5572, allocations: 127.8 kB / 0.7086 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.5575, allocations: 74.02 kB / 0.7087 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5577, allocations: 63.41 kB / 0.7088 GB, free: 11.24 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5577, allocations: 0 / 0.7088 GB, free: 11.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.6027, allocations: 11.84 MB / 0.7203 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.77, allocations: 7.688 kB / 0.7203 GB, free: 15.55 MB / 0.5606 GB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.820402855984867]