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.001252/0.001252, allocations: 110.4 kB / 19.16 MB, free: 3.938 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.001366/0.001366, allocations: 205.6 kB / 22.12 MB, free: 0.9922 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.42/1.42, allocations: 207.6 MB / 232.5 MB, free: 3.93 MB / 174.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.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.001976/0.001976, allocations: 63.91 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1018, allocations: 49.13 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3865/0.4882, allocations: 154.7 MB / 0.534 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.4921, allocations: 3.049 MB / 0.537 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.4922, allocations: 0 / 0.537 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.4927, allocations: 111.4 kB / 0.5371 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.4954, allocations: 1.179 MB / 0.5383 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.4964, allocations: 391.9 kB / 0.5386 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.497, allocations: 454.8 kB / 0.5391 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.4971, allocations: 13.56 kB / 0.5391 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.4975, allocations: 237.3 kB / 0.5393 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.4977, allocations: 147.5 kB / 0.5394 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.4977, allocations: 16 kB / 0.5395 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/0.5015, allocations: 2.166 MB / 0.5416 GB, free: 212 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.5017, allocations: 143.6 kB / 0.5417 GB, free: 68 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.5019, allocations: 167.4 kB / 0.5419 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.5041, allocations: 1.535 MB / 0.5434 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5041, allocations: 0 / 0.5434 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5041, allocations: 0 / 0.5434 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5042, allocations: 0 / 0.5434 GB, free: 14.36 MB / 430.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.002237/0.5064, allocations: 0.775 MB / 0.5441 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5064, allocations: 16.03 kB / 0.5441 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.5065, allocations: 12.69 kB / 0.5442 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.244e-05/0.5066, allocations: 74.66 kB / 0.5442 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007172/0.5073, allocations: 108.7 kB / 0.5443 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.5077, allocations: 279.3 kB / 0.5446 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.5077, allocations: 24.56 kB / 0.5446 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.5078, allocations: 35.86 kB / 0.5447 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.509, allocations: 0.5887 MB / 0.5452 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.509, allocations: 0 / 0.5452 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.509, allocations: 12 kB / 0.5452 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.5091, allocations: 20.44 kB / 0.5453 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.5105, allocations: 0.6379 MB / 0.5459 GB, free: 11.68 MB / 430.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.002993/0.5135, allocations: 1.286 MB / 0.5471 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5145, allocations: 352.9 kB / 0.5475 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.515, allocations: 172 kB / 0.5476 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002593/0.5176, allocations: 1.38 MB / 0.549 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5176, allocations: 46.67 kB / 0.549 GB, free: 8.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.5176, allocations: 0 / 0.549 GB, free: 8.152 MB / 430.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.01576/0.5334, allocations: 3.489 MB / 0.5524 GB, free: 4.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.5335, allocations: 81.11 kB / 0.5525 GB, free: 4.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.5337, allocations: 190.4 kB / 0.5527 GB, free: 4.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.5337, allocations: 33.7 kB / 0.5527 GB, free: 4.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.5338, allocations: 180.6 kB / 0.5529 GB, free: 3.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.534, allocations: 194.3 kB / 0.5531 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.5342, allocations: 110.3 kB / 0.5532 GB, free: 3.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5344, allocations: 334.8 kB / 0.5535 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/0.5352, allocations: 269.1 kB / 0.5538 GB, free: 3.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009164/0.5361, allocations: 425.5 kB / 0.5542 GB, free: 2.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.5379, allocations: 0.703 MB / 0.5549 GB, free: 1.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5379, allocations: 0 / 0.5549 GB, free: 1.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002082/0.5399, allocations: 0.7845 MB / 0.5556 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.54, allocations: 8 kB / 0.5556 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.54, allocations: 4 kB / 0.5556 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.5402, allocations: 57.69 kB / 0.5557 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5414, allocations: 183.8 kB / 0.5559 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007822/0.5422, allocations: 1.077 MB / 0.5569 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.5429, allocations: 44.14 kB / 0.557 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.543, allocations: 39.92 kB / 0.557 GB, free: 15.53 MB / 446.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.0002671/0.5433, allocations: 181.5 kB / 0.5572 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5434, allocations: 27.86 kB / 0.5572 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.5457, allocations: 0.7708 MB / 0.558 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5457, allocations: 8 kB / 0.558 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5457, allocations: 0 / 0.558 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.5457, allocations: 7.984 kB / 0.558 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.5492, allocations: 1.555 MB / 0.5595 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5492, allocations: 3.938 kB / 0.5595 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5503, allocations: 152 kB / 0.5596 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.5504, allocations: 49.58 kB / 0.5597 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.5505, allocations: 23.97 kB / 0.5597 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.5525, allocations: 2.726 MB / 0.5624 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5525, allocations: 4.031 kB / 0.5624 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.5553, allocations: 1.073 MB / 0.5634 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.5554, allocations: 104.9 kB / 0.5635 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.5555, allocations: 16 kB / 0.5635 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.5563, allocations: 36 kB / 0.5636 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.5564, allocations: 51.81 kB / 0.5636 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.5564, allocations: 31.97 kB / 0.5637 GB, free: 8.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.5565, allocations: 132.3 kB / 0.5638 GB, free: 8.121 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5565, allocations: 0 / 0.5638 GB, free: 8.121 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001403/0.5579, allocations: 395.2 kB / 0.5642 GB, free: 7.734 MB / 446.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.005363/0.5633, allocations: 2.373 MB / 0.5665 GB, free: 5.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.5654, allocations: 0.6246 MB / 0.5671 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5654, allocations: 0 / 0.5671 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5665, allocations: 0.5216 MB / 0.5676 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.5673, allocations: 99.86 kB / 0.5677 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.5756, allocations: 4.235 MB / 0.5718 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5761, allocations: 0.7891 MB / 0.5726 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007794/0.5768, allocations: 183.1 kB / 0.5728 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.5772, allocations: 131.4 kB / 0.5729 GB, free: 14.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5772, allocations: 0 / 0.5729 GB, free: 14.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.6258, allocations: 19.75 MB / 0.5922 GB, free: 10.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.63, allocations: 4.062 kB / 0.5922 GB, free: 10.55 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.5738823050051]