Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 56.44 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2312, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1541/0.3854, allocations: 130 MB / 0.514 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.3892, allocations: 2.741 MB / 0.5167 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.3893, allocations: 0 / 0.5167 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.3897, allocations: 59.67 kB / 0.5168 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.3924, allocations: 1.03 MB / 0.5178 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.393, allocations: 207.4 kB / 0.518 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.3935, allocations: 358.7 kB / 0.5183 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.3935, allocations: 9.266 kB / 0.5183 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.3938, allocations: 155.5 kB / 0.5185 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.394, allocations: 115.5 kB / 0.5186 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.394, allocations: 12 kB / 0.5186 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.3966, allocations: 1.28 MB / 0.5198 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3967, allocations: 79.77 kB / 0.5199 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3968, allocations: 95.64 kB / 0.52 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3982, allocations: 0.9585 MB / 0.5209 GB, free: 9.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3982, allocations: 0 / 0.5209 GB, free: 9.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3982, allocations: 0 / 0.5209 GB, free: 9.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3982, allocations: 0 / 0.5209 GB, free: 9.551 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008238/0.3991, allocations: 485.2 kB / 0.5214 GB, free: 9.047 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3991, allocations: 15.98 kB / 0.5214 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.487e-05/0.3992, allocations: 46.73 kB / 0.5215 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.4005, allocations: 208.6 kB / 0.5217 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.4008, allocations: 182.3 kB / 0.5218 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.4008, allocations: 20.5 kB / 0.5219 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.4009, allocations: 23.95 kB / 0.5219 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.4016, allocations: 0.5697 MB / 0.5224 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4016, allocations: 0 / 0.5224 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.4017, allocations: 15.94 kB / 0.5225 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4017, allocations: 8 kB / 0.5225 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.4023, allocations: 403.8 kB / 0.5228 GB, free: 7.48 MB / 446.1 MB 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.001669/0.4039, allocations: 0.7533 MB / 0.5236 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.4043, allocations: 213 kB / 0.5238 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.4045, allocations: 117.7 kB / 0.5239 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.406, allocations: 305.9 kB / 0.5242 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.406, allocations: 42.55 kB / 0.5242 GB, free: 5.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.406, allocations: 0 / 0.5242 GB, free: 5.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001182/0.4072, allocations: 358.9 kB / 0.5246 GB, free: 5.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.4073, allocations: 85.05 kB / 0.5247 GB, free: 5.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.4074, allocations: 117.8 kB / 0.5248 GB, free: 5.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.4074, allocations: 33.64 kB / 0.5248 GB, free: 5.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.4075, allocations: 116.5 kB / 0.5249 GB, free: 5.242 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.4076, allocations: 111 kB / 0.525 GB, free: 5.133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4077, allocations: 65.95 kB / 0.5251 GB, free: 5.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4078, allocations: 326.8 kB / 0.5254 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.408, allocations: 92.61 kB / 0.5255 GB, free: 4.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.4083, allocations: 183.5 kB / 0.5257 GB, free: 4.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.4088, allocations: 299.1 kB / 0.5259 GB, free: 4.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4088, allocations: 7.938 kB / 0.5259 GB, free: 4.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006255/0.4094, allocations: 353.4 kB / 0.5263 GB, free: 3.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4094, allocations: 8 kB / 0.5263 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4094, allocations: 0 / 0.5263 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4094, allocations: 7.984 kB / 0.5263 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.4098, allocations: 71.91 kB / 0.5264 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4098, allocations: 7.984 kB / 0.5264 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.41, allocations: 19.89 kB / 0.5264 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.41, allocations: 16 kB / 0.5264 GB, free: 3.613 MB / 446.1 MB 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.000151/0.4102, allocations: 153.6 kB / 0.5266 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.4103, allocations: 19.97 kB / 0.5266 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.4109, allocations: 314.4 kB / 0.5269 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4109, allocations: 8 kB / 0.5269 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.411, allocations: 4 kB / 0.5269 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.411, allocations: 0 / 0.5269 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.4115, allocations: 286.2 kB / 0.5272 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4115, allocations: 0 / 0.5272 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.4118, allocations: 55.91 kB / 0.5272 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4118, allocations: 0 / 0.5272 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.4119, allocations: 8 kB / 0.5272 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4119, allocations: 7.984 kB / 0.5272 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4119, allocations: 0 / 0.5272 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.4126, allocations: 0.5025 MB / 0.5277 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.4127, allocations: 23.88 kB / 0.5277 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.4127, allocations: 8.062 kB / 0.5277 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.413, allocations: 16.11 kB / 0.5278 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.413, allocations: 23.84 kB / 0.5278 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.4131, allocations: 23.92 kB / 0.5278 GB, free: 2.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.4131, allocations: 83.28 kB / 0.5279 GB, free: 2.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4131, allocations: 4 kB / 0.5279 GB, free: 2.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007603/0.4139, allocations: 231.4 kB / 0.5281 GB, free: 1.789 MB / 446.1 MB 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.001926/0.4158, allocations: 1.367 MB / 0.5294 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.4163, allocations: 252.3 kB / 0.5297 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4163, allocations: 0 / 0.5297 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4165, allocations: 128.4 kB / 0.5298 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.4172, allocations: 80.33 kB / 0.5299 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.4205, allocations: 2.671 MB / 0.5325 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.4207, allocations: 131.6 kB / 0.5326 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.421, allocations: 70.02 kB / 0.5327 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.4211, allocations: 59.41 kB / 0.5327 GB, free: 12.85 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4211, allocations: 0 / 0.5327 GB, free: 12.85 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05631/0.4774, allocations: 11.56 MB / 0.544 GB, free: 1.227 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.45, allocations: 8.016 kB / 0.544 GB, free: 1.219 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 13.762756646145135]