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.001588/0.001588, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001527/0.001527, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2203/0.2203, allocations: 46.94 MB / 361.6 MB, free: 3.926 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 79.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3233, allocations: 66.07 MB / 0.5614 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1665/0.4897, allocations: 131.7 MB / 0.6901 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.494, allocations: 2.913 MB / 0.6929 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.4941, allocations: 0 / 0.6929 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.4945, allocations: 55.66 kB / 0.693 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.4974, allocations: 1.093 MB / 0.694 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.498, allocations: 198.8 kB / 0.6942 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.4985, allocations: 378.6 kB / 0.6946 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.4986, allocations: 17.23 kB / 0.6946 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.4989, allocations: 163.4 kB / 0.6947 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.4992, allocations: 123.5 kB / 0.6949 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.4992, allocations: 12 kB / 0.6949 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.502, allocations: 1.352 MB / 0.6962 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.5021, allocations: 83.7 kB / 0.6963 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.5023, allocations: 99.7 kB / 0.6964 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.504, allocations: 0.976 MB / 0.6973 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.504, allocations: 0 / 0.6973 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.504, allocations: 0 / 0.6973 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.504, allocations: 0 / 0.6973 GB, free: 8.32 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.001238/0.5053, allocations: 497.1 kB / 0.6978 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5053, allocations: 12.03 kB / 0.6978 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.167e-05/0.5053, allocations: 4.562 kB / 0.6978 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.963e-05/0.5054, allocations: 58.73 kB / 0.6979 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.507, allocations: 204.6 kB / 0.6981 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.5074, allocations: 201.5 kB / 0.6983 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.5074, allocations: 16.38 kB / 0.6983 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.5075, allocations: 20 kB / 0.6983 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.5083, allocations: 0.5759 MB / 0.6989 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5083, allocations: 0 / 0.6989 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.5083, allocations: 16 kB / 0.6989 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.5084, allocations: 7.984 kB / 0.6989 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.509, allocations: 424.4 kB / 0.6993 GB, free: 6.195 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.001803/0.5108, allocations: 0.7542 MB / 0.7 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.5112, allocations: 229.1 kB / 0.7002 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.5114, allocations: 124.7 kB / 0.7004 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.5131, allocations: 317.7 kB / 0.7007 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5131, allocations: 38.56 kB / 0.7007 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.5131, allocations: 0 / 0.7007 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001302/0.5144, allocations: 379.9 kB / 0.7011 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.5145, allocations: 85.09 kB / 0.7011 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5146, allocations: 121.8 kB / 0.7013 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.5146, allocations: 29.7 kB / 0.7013 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.5147, allocations: 108.6 kB / 0.7014 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.5148, allocations: 127 kB / 0.7015 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.5149, allocations: 62.02 kB / 0.7016 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5151, allocations: 330.8 kB / 0.7019 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.5153, allocations: 104 kB / 0.702 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.5156, allocations: 186.8 kB / 0.7022 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.5161, allocations: 312.3 kB / 0.7025 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5161, allocations: 4 kB / 0.7025 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006882/0.5168, allocations: 358 kB / 0.7028 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5168, allocations: 8 kB / 0.7028 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5168, allocations: 4 kB / 0.7028 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.5169, allocations: 4 kB / 0.7028 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.5172, allocations: 75.83 kB / 0.7029 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5172, allocations: 4 kB / 0.7029 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.5175, allocations: 27.78 kB / 0.7029 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.5175, allocations: 24.31 kB / 0.7029 GB, free: 2.23 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.0001632/0.5177, allocations: 151 kB / 0.7031 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.5178, allocations: 15.91 kB / 0.7031 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.5185, allocations: 335.9 kB / 0.7034 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5185, allocations: 4 kB / 0.7034 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5185, allocations: 0 / 0.7034 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5185, allocations: 0 / 0.7034 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.5191, allocations: 290.2 kB / 0.7037 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5191, allocations: 0 / 0.7037 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.5195, allocations: 51.91 kB / 0.7038 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5195, allocations: 4 kB / 0.7038 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.5195, allocations: 8 kB / 0.7038 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5195, allocations: 7.984 kB / 0.7038 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5195, allocations: 0 / 0.7038 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.5203, allocations: 0.5376 MB / 0.7043 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.5203, allocations: 11.89 kB / 0.7043 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.5204, allocations: 8.062 kB / 0.7043 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.5207, allocations: 19.97 kB / 0.7043 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.5207, allocations: 27.89 kB / 0.7044 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.5208, allocations: 15.98 kB / 0.7044 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.5208, allocations: 87.28 kB / 0.7045 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5208, allocations: 4 kB / 0.7045 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008845/0.5217, allocations: 243.4 kB / 0.7047 GB, free: 372 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.00243/0.5242, allocations: 1.41 MB / 0.7061 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005974/0.5248, allocations: 247.9 kB / 0.7063 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5248, allocations: 4 kB / 0.7063 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.525, allocations: 131.8 kB / 0.7064 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.5258, allocations: 99.38 kB / 0.7065 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.5298, allocations: 2.741 MB / 0.7092 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.5299, allocations: 123.8 kB / 0.7093 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.5303, allocations: 77.95 kB / 0.7094 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.5304, allocations: 63.42 kB / 0.7095 GB, free: 11.28 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.5304, allocations: 0 / 0.7095 GB, free: 11.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.5678, allocations: 11.6 MB / 0.7208 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.68, allocations: 8.047 kB / 0.7208 GB, free: 15.84 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.756194320041686]