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.001293/0.001293, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001409/0.001409, allocations: 210.3 kB / 24.53 MB, free: 4.07 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2167/0.2167, allocations: 46.92 MB / 361.6 MB, free: 4.168 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.002209/0.002209, allocations: 84.14 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2956, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1769/0.4725, allocations: 153.3 MB / 0.7112 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.4764, allocations: 3.263 MB / 0.7144 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.4765, allocations: 0 / 0.7144 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.4768, allocations: 63.64 kB / 0.7144 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.4792, allocations: 1.112 MB / 0.7155 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.4798, allocations: 198.9 kB / 0.7157 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000475/0.4802, allocations: 378.6 kB / 0.7161 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.4803, allocations: 9.297 kB / 0.7161 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.4805, allocations: 167.4 kB / 0.7162 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.4807, allocations: 123.5 kB / 0.7163 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.4808, allocations: 12 kB / 0.7164 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.4836, allocations: 1.64 MB / 0.718 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4837, allocations: 83.77 kB / 0.718 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.4838, allocations: 115.5 kB / 0.7181 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.4852, allocations: 1.019 MB / 0.7191 GB, free: 2.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4852, allocations: 3.984 kB / 0.7191 GB, free: 2.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4852, allocations: 0 / 0.7191 GB, free: 2.234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4852, allocations: 4 kB / 0.7191 GB, free: 2.23 MB / 0.545 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.0008569/0.4861, allocations: 497.1 kB / 0.7196 GB, free: 1.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4861, allocations: 8.031 kB / 0.7196 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.803e-05/0.4862, allocations: 4.562 kB / 0.7196 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.4862, allocations: 54.73 kB / 0.7197 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.4876, allocations: 212.6 kB / 0.7199 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.4879, allocations: 197.6 kB / 0.7201 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.488, allocations: 12.38 kB / 0.7201 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.488, allocations: 23.98 kB / 0.7201 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.4886, allocations: 392.1 kB / 0.7205 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4886, allocations: 0 / 0.7205 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.4887, allocations: 4 kB / 0.7205 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.4887, allocations: 12 kB / 0.7205 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.4893, allocations: 424.4 kB / 0.7209 GB, free: 368 kB / 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.00172/0.491, allocations: 0.7894 MB / 0.7217 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4915, allocations: 229 kB / 0.7219 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.4916, allocations: 120 kB / 0.722 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.4931, allocations: 317.7 kB / 0.7223 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4931, allocations: 42.5 kB / 0.7224 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.4931, allocations: 0 / 0.7224 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001192/0.4943, allocations: 381 kB / 0.7227 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.4944, allocations: 85.09 kB / 0.7228 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.4945, allocations: 117.8 kB / 0.7229 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4945, allocations: 29.7 kB / 0.7229 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.4946, allocations: 112.6 kB / 0.723 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.4947, allocations: 123 kB / 0.7232 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.4948, allocations: 62.02 kB / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4949, allocations: 326.8 kB / 0.7235 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.4951, allocations: 108 kB / 0.7236 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.4954, allocations: 186.9 kB / 0.7238 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.4959, allocations: 312 kB / 0.7241 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4959, allocations: 4 kB / 0.7241 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006528/0.4965, allocations: 361.1 kB / 0.7245 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4966, allocations: 4 kB / 0.7245 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4966, allocations: 4 kB / 0.7245 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4966, allocations: 4 kB / 0.7245 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.4969, allocations: 75.89 kB / 0.7245 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4969, allocations: 8.25 kB / 0.7245 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.4971, allocations: 31.78 kB / 0.7246 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.4972, allocations: 20 kB / 0.7246 GB, free: 12.36 MB / 0.5606 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.0001479/0.4973, allocations: 143 kB / 0.7247 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.4974, allocations: 15.91 kB / 0.7248 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.4981, allocations: 338 kB / 0.7251 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.4981, allocations: 8 kB / 0.7251 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4981, allocations: 0 / 0.7251 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4981, allocations: 0 / 0.7251 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.4987, allocations: 310.1 kB / 0.7254 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4987, allocations: 4 kB / 0.7254 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.4991, allocations: 63.84 kB / 0.7254 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4991, allocations: 0 / 0.7254 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.4991, allocations: 11.98 kB / 0.7255 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4991, allocations: 4 kB / 0.7255 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4991, allocations: 0 / 0.7255 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.4999, allocations: 0.5342 MB / 0.726 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.5, allocations: 19.88 kB / 0.726 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.5, allocations: 4.062 kB / 0.726 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.5003, allocations: 15.98 kB / 0.726 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5004, allocations: 27.89 kB / 0.726 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.5004, allocations: 15.98 kB / 0.7261 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.5005, allocations: 91.56 kB / 0.7261 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5005, allocations: 0 / 0.7261 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008113/0.5013, allocations: 239.4 kB / 0.7264 GB, free: 10.47 MB / 0.5606 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.002124/0.5034, allocations: 1.402 MB / 0.7277 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.5039, allocations: 263.9 kB / 0.728 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5039, allocations: 0 / 0.728 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.5042, allocations: 138.7 kB / 0.7281 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.5048, allocations: 92.3 kB / 0.7282 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.5083, allocations: 2.733 MB / 0.7309 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5087, allocations: 0.7479 MB / 0.7316 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000289/0.509, allocations: 77.95 kB / 0.7317 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.5091, allocations: 59.42 kB / 0.7317 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5091, allocations: 0 / 0.7317 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.275/0.7841, allocations: 11.28 MB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.71, allocations: 6.594 kB / 0.7428 GB, free: 171.4 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.743442276958376]