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.001309/0.001309, allocations: 108.5 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.001377/0.001377, 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.369/1.369, 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.001824/0.001824, allocations: 48.34 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2429, allocations: 49.16 MB / 396.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1831/0.426, allocations: 154.8 MB / 0.5382 GB, free: 8.004 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.4303, allocations: 3.053 MB / 0.5412 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.4305, allocations: 0 / 0.5412 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.431, allocations: 115.4 kB / 0.5413 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.4341, allocations: 1.249 MB / 0.5425 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4352, allocations: 390.8 kB / 0.5429 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.436, allocations: 466.8 kB / 0.5434 GB, free: 2.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.436, allocations: 5.75 kB / 0.5434 GB, free: 2.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.4365, allocations: 235.1 kB / 0.5436 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4368, allocations: 147.5 kB / 0.5437 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.4369, allocations: 16 kB / 0.5437 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004563/0.4414, allocations: 2.27 MB / 0.546 GB, free: 72 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.4416, allocations: 135.8 kB / 0.5461 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.4419, allocations: 171.3 kB / 0.5462 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.4448, allocations: 1.548 MB / 0.5478 GB, free: 14.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4448, allocations: 0 / 0.5478 GB, free: 14.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4448, allocations: 0 / 0.5478 GB, free: 14.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4448, allocations: 0 / 0.5478 GB, free: 14.22 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.002304/0.4471, allocations: 0.7076 MB / 0.5485 GB, free: 13.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4472, allocations: 15.98 kB / 0.5485 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.4473, allocations: 66.72 kB / 0.5485 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007837/0.4481, allocations: 104.7 kB / 0.5486 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.4486, allocations: 229.5 kB / 0.5488 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4486, allocations: 20.66 kB / 0.5489 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.4487, allocations: 31.94 kB / 0.5489 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.45, allocations: 0.5931 MB / 0.5495 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.45, allocations: 7.938 kB / 0.5495 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.45, allocations: 15.98 kB / 0.5495 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.4501, allocations: 20.44 kB / 0.5495 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.4515, allocations: 0.6419 MB / 0.5501 GB, free: 11.69 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.003284/0.4547, allocations: 1.259 MB / 0.5514 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000995/0.4557, allocations: 344.9 kB / 0.5517 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.4562, allocations: 169.6 kB / 0.5519 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002186/0.4584, allocations: 495.3 kB / 0.5523 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4584, allocations: 42.69 kB / 0.5524 GB, free: 9.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/0.4584, allocations: 3.938 kB / 0.5524 GB, free: 9.316 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.01531/0.4737, allocations: 3.177 MB / 0.5555 GB, free: 6.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.4738, allocations: 81.11 kB / 0.5556 GB, free: 5.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.474, allocations: 183.4 kB / 0.5557 GB, free: 5.719 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.079e-05/0.4741, allocations: 37.7 kB / 0.5558 GB, free: 5.676 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4742, allocations: 188.5 kB / 0.556 GB, free: 5.484 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.4744, allocations: 178.4 kB / 0.5561 GB, free: 5.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.4747, allocations: 114.3 kB / 0.5562 GB, free: 5.191 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4748, allocations: 342.8 kB / 0.5566 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/0.4757, allocations: 265.1 kB / 0.5568 GB, free: 4.586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.4766, allocations: 429.4 kB / 0.5572 GB, free: 4.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.4783, allocations: 0.6991 MB / 0.5579 GB, free: 3.336 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4783, allocations: 4 kB / 0.5579 GB, free: 3.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002238/0.4806, allocations: 0.78 MB / 0.5587 GB, free: 2.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4806, allocations: 8 kB / 0.5587 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4806, allocations: 4 kB / 0.5587 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.4808, allocations: 53.69 kB / 0.5587 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4821, allocations: 192 kB / 0.5589 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008179/0.4829, allocations: 1.074 MB / 0.56 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.4837, allocations: 43.95 kB / 0.56 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.4838, allocations: 43.86 kB / 0.5601 GB, free: 1.07 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.0002878/0.4841, allocations: 169.7 kB / 0.5602 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.4842, allocations: 31.81 kB / 0.5602 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.4865, allocations: 0.7906 MB / 0.561 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4866, allocations: 8 kB / 0.561 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4866, allocations: 0 / 0.561 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4866, allocations: 3.984 kB / 0.561 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1774/0.664, allocations: 1.522 MB / 0.5625 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.664, allocations: 3.984 kB / 0.5625 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.6651, allocations: 147.5 kB / 0.5627 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.6653, allocations: 46.41 kB / 0.5627 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.6653, allocations: 25.03 kB / 0.5627 GB, free: 163.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.6665, allocations: 2.526 MB / 0.5652 GB, free: 161 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6665, allocations: 2.844 kB / 0.5652 GB, free: 161 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.669, allocations: 1.072 MB / 0.5662 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.6691, allocations: 28.64 kB / 0.5663 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.6691, allocations: 14.53 kB / 0.5663 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.6699, allocations: 39.45 kB / 0.5663 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.67, allocations: 49.3 kB / 0.5664 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.6701, allocations: 33.52 kB / 0.5664 GB, free: 160.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.271e-05/0.6702, allocations: 124 kB / 0.5665 GB, free: 160.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6702, allocations: 0 / 0.5665 GB, free: 160.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001287/0.6715, allocations: 389.1 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.004835/0.6763, allocations: 2.375 MB / 0.5692 GB, free: 159.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.6782, allocations: 0.6311 MB / 0.5698 GB, free: 159 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6782, allocations: 1.062 kB / 0.5698 GB, free: 159 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6793, allocations: 0.5281 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.0007924/0.6801, allocations: 100.9 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.007381/0.6875, allocations: 4.242 MB / 0.5746 GB, free: 155.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.6877, allocations: 0.7872 MB / 0.5753 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008536/0.6886, allocations: 181.1 kB / 0.5755 GB, free: 155.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.689, allocations: 128.2 kB / 0.5756 GB, free: 155.1 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.689, allocations: 0 / 0.5756 GB, free: 155.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05582/0.7448, allocations: 20.2 MB / 0.5954 GB, free: 141.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.84, allocations: 3.859 kB / 0.5954 GB, free: 141.7 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.396992047084495]