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.00142/0.00142, allocations: 106.9 kB / 21.96 MB, free: 4.703 MB / 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.001322/0.001322, allocations: 214 kB / 25.25 MB, free: 2.879 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.277/1.277, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="cs",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.001623/0.001623, allocations: 62.73 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2215, allocations: 49.15 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1505/0.372, allocations: 130 MB / 0.5147 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3755, allocations: 2.718 MB / 0.5174 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.3755, allocations: 0 / 0.5174 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3758, allocations: 67.66 kB / 0.5174 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.3781, allocations: 1.03 MB / 0.5185 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.3785, allocations: 199.6 kB / 0.5186 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.379, allocations: 370.6 kB / 0.519 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.379, allocations: 9.266 kB / 0.519 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.3792, allocations: 147.6 kB / 0.5191 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.3794, allocations: 119.5 kB / 0.5193 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.3795, allocations: 15.98 kB / 0.5193 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.3818, allocations: 1.295 MB / 0.5205 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.3819, allocations: 87.7 kB / 0.5206 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.382, allocations: 91.7 kB / 0.5207 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.3834, allocations: 0.9585 MB / 0.5216 GB, free: 9.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3834, allocations: 0 / 0.5216 GB, free: 9.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3834, allocations: 0 / 0.5216 GB, free: 9.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3834, allocations: 0 / 0.5216 GB, free: 9.605 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.00084/0.3842, allocations: 489.2 kB / 0.5221 GB, free: 9.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3842, allocations: 11.98 kB / 0.5221 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.807e-05/0.3843, allocations: 8.562 kB / 0.5221 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.3843, allocations: 58.72 kB / 0.5222 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3857, allocations: 196.6 kB / 0.5224 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.386, allocations: 190.3 kB / 0.5226 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.386, allocations: 20.25 kB / 0.5226 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.3861, allocations: 23.95 kB / 0.5226 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000705/0.3868, allocations: 0.5619 MB / 0.5231 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3868, allocations: 4 kB / 0.5232 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.3869, allocations: 12 kB / 0.5232 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3869, allocations: 4 kB / 0.5232 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.3875, allocations: 419.7 kB / 0.5236 GB, free: 7.512 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.001614/0.3891, allocations: 0.7455 MB / 0.5243 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.3895, allocations: 218 kB / 0.5245 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.3897, allocations: 117.6 kB / 0.5246 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.3911, allocations: 301.9 kB / 0.5249 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3911, allocations: 38.56 kB / 0.5249 GB, free: 6.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.3911, allocations: 0 / 0.5249 GB, free: 6.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001143/0.3923, allocations: 366.9 kB / 0.5253 GB, free: 5.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.3923, allocations: 77.11 kB / 0.5254 GB, free: 5.566 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.3924, allocations: 117.8 kB / 0.5255 GB, free: 5.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.3925, allocations: 37.7 kB / 0.5255 GB, free: 5.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.3925, allocations: 108.6 kB / 0.5256 GB, free: 5.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.3926, allocations: 107 kB / 0.5257 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3927, allocations: 73.91 kB / 0.5258 GB, free: 5.105 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3929, allocations: 322.8 kB / 0.5261 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.3931, allocations: 100.6 kB / 0.5262 GB, free: 4.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3934, allocations: 183.5 kB / 0.5264 GB, free: 4.469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.3938, allocations: 306.6 kB / 0.5267 GB, free: 4.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3938, allocations: 0 / 0.5267 GB, free: 4.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006174/0.3945, allocations: 337.2 kB / 0.527 GB, free: 3.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3945, allocations: 8 kB / 0.527 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3945, allocations: 4 kB / 0.527 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3945, allocations: 4 kB / 0.527 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.3948, allocations: 83.77 kB / 0.5271 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3949, allocations: 4 kB / 0.5271 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3951, allocations: 23.84 kB / 0.5271 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.3951, allocations: 16.31 kB / 0.5271 GB, free: 3.656 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.0001508/0.3953, allocations: 149.6 kB / 0.5273 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.3954, allocations: 15.91 kB / 0.5273 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.396, allocations: 326.5 kB / 0.5276 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.396, allocations: 4 kB / 0.5276 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.396, allocations: 0 / 0.5276 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.396, allocations: 3.984 kB / 0.5276 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.3966, allocations: 286.2 kB / 0.5279 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3966, allocations: 0 / 0.5279 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.3969, allocations: 51.91 kB / 0.5279 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3969, allocations: 4 kB / 0.5279 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.3969, allocations: 15.98 kB / 0.5279 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3969, allocations: 4 kB / 0.5279 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3969, allocations: 0 / 0.5279 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.3977, allocations: 0.5102 MB / 0.5284 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.3977, allocations: 15.89 kB / 0.5285 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.3978, allocations: 8.062 kB / 0.5285 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3981, allocations: 11.98 kB / 0.5285 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3981, allocations: 23.91 kB / 0.5285 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.3982, allocations: 15.98 kB / 0.5285 GB, free: 2.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.365e-05/0.3982, allocations: 91.27 kB / 0.5286 GB, free: 2.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3982, allocations: 4 kB / 0.5286 GB, free: 2.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000761/0.399, allocations: 227.4 kB / 0.5288 GB, free: 1.836 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.001978/0.401, allocations: 1.372 MB / 0.5302 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.4015, allocations: 251.9 kB / 0.5304 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4015, allocations: 4 kB / 0.5304 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4017, allocations: 124.1 kB / 0.5305 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.4023, allocations: 85.06 kB / 0.5306 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.4057, allocations: 2.667 MB / 0.5332 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4058, allocations: 127.6 kB / 0.5333 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.4061, allocations: 73.97 kB / 0.5334 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.4062, allocations: 55.42 kB / 0.5334 GB, free: 12.89 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4062, allocations: 0 / 0.5334 GB, free: 12.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.4413, allocations: 11.31 MB / 0.5445 GB, free: 1.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.09, allocations: 4.062 kB / 0.5445 GB, free: 1.516 MB / 462.1 MB " [Timeout remaining time 649] (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.487433328060433]