Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.001501/0.001501, allocations: 101.4 kB / 21.95 MB, free: 5.219 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.00167/0.00167, allocations: 214 kB / 25.26 MB, free: 3.129 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.27/1.27, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",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.001685/0.001685, allocations: 51.92 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2243, allocations: 49.16 MB / 397.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1508/0.3751, allocations: 132.7 MB / 0.5174 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.3787, allocations: 2.745 MB / 0.5201 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.3788, allocations: 3.938 kB / 0.5201 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.3791, allocations: 95.48 kB / 0.5202 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.3818, allocations: 1.221 MB / 0.5214 GB, free: 9.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.3828, allocations: 394.7 kB / 0.5218 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.3833, allocations: 462.8 kB / 0.5222 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3834, allocations: 9.734 kB / 0.5222 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.3838, allocations: 232.9 kB / 0.5224 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.384, allocations: 151.5 kB / 0.5226 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.384, allocations: 16 kB / 0.5226 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.3875, allocations: 1.85 MB / 0.5244 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.3876, allocations: 135.7 kB / 0.5245 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.3879, allocations: 151.5 kB / 0.5247 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.3902, allocations: 1.465 MB / 0.5261 GB, free: 5.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3902, allocations: 0 / 0.5261 GB, free: 5.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3902, allocations: 3.938 kB / 0.5261 GB, free: 5.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.3902, allocations: 4 kB / 0.5261 GB, free: 5.02 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002116/0.3923, allocations: 0.7075 MB / 0.5268 GB, free: 4.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3924, allocations: 15.98 kB / 0.5268 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.07e-05/0.3924, allocations: 8.844 kB / 0.5268 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.343e-05/0.3925, allocations: 66.72 kB / 0.5269 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007344/0.3932, allocations: 108.7 kB / 0.527 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3936, allocations: 221.3 kB / 0.5272 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3936, allocations: 24.66 kB / 0.5272 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.3937, allocations: 28 kB / 0.5273 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.395, allocations: 0.8982 MB / 0.5281 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.395, allocations: 4 kB / 0.5281 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.3951, allocations: 16 kB / 0.5281 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.3951, allocations: 20.42 kB / 0.5282 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3964, allocations: 0.6496 MB / 0.5288 GB, free: 2.105 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.002892/0.3993, allocations: 1.181 MB / 0.53 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009608/0.4002, allocations: 348.8 kB / 0.5303 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.4007, allocations: 165.6 kB / 0.5304 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/0.4027, allocations: 495.5 kB / 0.5309 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4027, allocations: 46.5 kB / 0.531 GB, free: 15.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.4027, allocations: 0 / 0.531 GB, free: 15.81 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01494/0.4177, allocations: 3.175 MB / 0.5341 GB, free: 12.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.4177, allocations: 85.05 kB / 0.5341 GB, free: 12.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.4179, allocations: 183.4 kB / 0.5343 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.418, allocations: 33.7 kB / 0.5344 GB, free: 12.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4181, allocations: 200.5 kB / 0.5345 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4183, allocations: 182.4 kB / 0.5347 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.4185, allocations: 118.2 kB / 0.5348 GB, free: 11.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4187, allocations: 338.8 kB / 0.5352 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.4194, allocations: 265.1 kB / 0.5354 GB, free: 11.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009001/0.4203, allocations: 417.5 kB / 0.5358 GB, free: 10.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.422, allocations: 0.6991 MB / 0.5365 GB, free: 9.824 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.422, allocations: 0 / 0.5365 GB, free: 9.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002072/0.4241, allocations: 0.7876 MB / 0.5373 GB, free: 9.023 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4241, allocations: 8.156 kB / 0.5373 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4241, allocations: 4.625 kB / 0.5373 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.4244, allocations: 61.62 kB / 0.5373 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4255, allocations: 179.7 kB / 0.5375 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007598/0.4263, allocations: 1.077 MB / 0.5385 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.427, allocations: 48.08 kB / 0.5386 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.4271, allocations: 35.98 kB / 0.5386 GB, free: 7.559 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002811/0.4274, allocations: 173.7 kB / 0.5388 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4275, allocations: 31.81 kB / 0.5388 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.4298, allocations: 0.7826 MB / 0.5396 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4298, allocations: 4 kB / 0.5396 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.4298, allocations: 8 kB / 0.5396 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4298, allocations: 3.984 kB / 0.5396 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.4331, allocations: 1.46 MB / 0.541 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4331, allocations: 4 kB / 0.541 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.4342, allocations: 147.7 kB / 0.5412 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.4344, allocations: 37.69 kB / 0.5412 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.29e-05/0.4344, allocations: 27.97 kB / 0.5412 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.4364, allocations: 2.523 MB / 0.5437 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4364, allocations: 4 kB / 0.5437 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.4391, allocations: 1.081 MB / 0.5448 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.4391, allocations: 19.86 kB / 0.5448 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.4392, allocations: 23.94 kB / 0.5448 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.44, allocations: 36 kB / 0.5448 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.4401, allocations: 47.86 kB / 0.5449 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.4401, allocations: 27.97 kB / 0.5449 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.4402, allocations: 124.4 kB / 0.545 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4402, allocations: 0 / 0.545 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001371/0.4416, allocations: 391.2 kB / 0.5454 GB, free: 244 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005398/0.447, allocations: 2.374 MB / 0.5477 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.4489, allocations: 0.6442 MB / 0.5483 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4489, allocations: 0 / 0.5483 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.4501, allocations: 0.5247 MB / 0.5489 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.4508, allocations: 96.94 kB / 0.549 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/0.459, allocations: 4.246 MB / 0.5531 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.4592, allocations: 176 kB / 0.5533 GB, free: 7.812 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008333/0.46, allocations: 183.1 kB / 0.5534 GB, free: 7.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/0.4604, allocations: 131.3 kB / 0.5536 GB, free: 7.508 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4604, allocations: 0 / 0.5536 GB, free: 7.508 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/0.6742, allocations: 20.63 MB / 0.5737 GB, free: 157.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.61, allocations: 2.938 kB / 0.5737 GB, free: 157.6 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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: 17.400552914943546]