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.001301/0.001301, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001407/0.001407, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.314/1.314, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",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.001748/0.001748, allocations: 54.58 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2783, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1888/0.4671, allocations: 154.8 MB / 0.5382 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.471, allocations: 3.053 MB / 0.5412 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4712, allocations: 0 / 0.5412 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.4717, allocations: 119.4 kB / 0.5413 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.4748, allocations: 1.241 MB / 0.5425 GB, free: 3.551 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4759, allocations: 398.7 kB / 0.5429 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.4765, allocations: 462.8 kB / 0.5433 GB, free: 2.707 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.4766, allocations: 13.73 kB / 0.5434 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.477, allocations: 227.1 kB / 0.5436 GB, free: 2.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.4772, allocations: 151.5 kB / 0.5437 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.4773, allocations: 16 kB / 0.5437 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.4816, allocations: 2.267 MB / 0.5459 GB, free: 40 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.4818, allocations: 139.6 kB / 0.5461 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.482, allocations: 171.4 kB / 0.5462 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.4849, allocations: 1.552 MB / 0.5478 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4849, allocations: 0 / 0.5478 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4849, allocations: 0 / 0.5478 GB, free: 14.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4849, allocations: 0 / 0.5478 GB, free: 14.18 MB / 478.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.002258/0.4872, allocations: 0.6998 MB / 0.5484 GB, free: 13.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4872, allocations: 19.98 kB / 0.5485 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.4873, allocations: 70.72 kB / 0.5485 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.488, allocations: 100.7 kB / 0.5486 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.4885, allocations: 229.5 kB / 0.5488 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.4885, allocations: 28.53 kB / 0.5489 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.4886, allocations: 31.98 kB / 0.5489 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4898, allocations: 0.5892 MB / 0.5495 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.4898, allocations: 3.984 kB / 0.5495 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.4898, allocations: 16 kB / 0.5495 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.4899, allocations: 16.44 kB / 0.5495 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.4912, allocations: 0.6496 MB / 0.5501 GB, free: 11.65 MB / 478.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.003166/0.4944, allocations: 1.259 MB / 0.5514 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.4953, allocations: 348.9 kB / 0.5517 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.4958, allocations: 161.6 kB / 0.5519 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/0.4978, allocations: 499.3 kB / 0.5523 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.4979, allocations: 42.69 kB / 0.5524 GB, free: 9.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.485e-06/0.4979, allocations: 0 / 0.5524 GB, free: 9.281 MB / 478.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.0147/0.5126, allocations: 3.182 MB / 0.5555 GB, free: 5.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.5127, allocations: 81.11 kB / 0.5556 GB, free: 5.867 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.5129, allocations: 183.4 kB / 0.5557 GB, free: 5.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.5129, allocations: 33.7 kB / 0.5558 GB, free: 5.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.5131, allocations: 184.5 kB / 0.5559 GB, free: 5.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.5132, allocations: 186.4 kB / 0.5561 GB, free: 5.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.5134, allocations: 114.2 kB / 0.5562 GB, free: 5.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5136, allocations: 338.8 kB / 0.5566 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007546/0.5144, allocations: 265.1 kB / 0.5568 GB, free: 4.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008866/0.5153, allocations: 429.4 kB / 0.5572 GB, free: 4.066 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.5169, allocations: 0.6992 MB / 0.5579 GB, free: 3.301 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5169, allocations: 4 kB / 0.5579 GB, free: 3.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00204/0.519, allocations: 0.788 MB / 0.5587 GB, free: 2.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.519, allocations: 12.09 kB / 0.5587 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.519, allocations: 4 kB / 0.5587 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.5192, allocations: 49.69 kB / 0.5587 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.5204, allocations: 179.7 kB / 0.5589 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008442/0.5212, allocations: 1.085 MB / 0.56 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.522, allocations: 48.14 kB / 0.56 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.5221, allocations: 43.92 kB / 0.5601 GB, free: 1.023 MB / 478.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.00028/0.5223, allocations: 161.7 kB / 0.5602 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.5225, allocations: 35.8 kB / 0.5602 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.5246, allocations: 0.7866 MB / 0.561 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.5247, allocations: 8 kB / 0.561 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5247, allocations: 0 / 0.561 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.5247, allocations: 7.984 kB / 0.561 GB, free: 0 / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2037/0.7283, allocations: 1.515 MB / 0.5625 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7283, allocations: 3.75 kB / 0.5625 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7295, allocations: 153.2 kB / 0.5627 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.7296, allocations: 37.42 kB / 0.5627 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.7297, allocations: 24.91 kB / 0.5627 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.731, allocations: 2.527 MB / 0.5652 GB, free: 161 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.731, allocations: 7.594 kB / 0.5652 GB, free: 161 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.7335, allocations: 1.071 MB / 0.5662 GB, free: 160.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.7336, allocations: 23.84 kB / 0.5663 GB, free: 160.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.7337, allocations: 19.88 kB / 0.5663 GB, free: 160.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.7345, allocations: 39.44 kB / 0.5663 GB, free: 160.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.7346, allocations: 41.16 kB / 0.5664 GB, free: 160.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.7346, allocations: 37.61 kB / 0.5664 GB, free: 160.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.7348, allocations: 126.9 kB / 0.5665 GB, free: 160.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7348, allocations: 0 / 0.5665 GB, free: 160.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001545/0.7363, allocations: 388.5 kB / 0.5669 GB, free: 160.3 MB / 478.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.005056/0.7414, allocations: 2.37 MB / 0.5692 GB, free: 159.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.7432, allocations: 0.6392 MB / 0.5698 GB, free: 159 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7432, allocations: 4.656 kB / 0.5698 GB, free: 159 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.7443, allocations: 0.5205 MB / 0.5703 GB, free: 158.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.7451, allocations: 98.77 kB / 0.5704 GB, free: 158.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.7528, allocations: 4.241 MB / 0.5746 GB, free: 155.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.753, allocations: 0.7826 MB / 0.5753 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008547/0.7539, allocations: 184.7 kB / 0.5755 GB, free: 155.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.7543, allocations: 128.4 kB / 0.5756 GB, free: 155 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7543, allocations: 0 / 0.5756 GB, free: 155 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05664/0.8109, allocations: 20.21 MB / 0.5954 GB, free: 141.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.41, allocations: 7.844 kB / 0.5954 GB, free: 141.6 MB / 478.1 MB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.971371140993142]