Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 107.1 kB / 17.06 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 195 kB / 18 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001107, allocations: 43.94 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2503, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3737/0.624, allocations: 152.5 MB / 0.5398 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.6283, allocations: 4.035 MB / 0.5437 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.6284, allocations: 2.031 kB / 0.5437 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.6289, allocations: 109 kB / 0.5438 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.6317, allocations: 1.177 MB / 0.545 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.6327, allocations: 389.7 kB / 0.5453 GB, free: 1.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.6332, allocations: 456.2 kB / 0.5458 GB, free: 1.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.6332, allocations: 14.38 kB / 0.5458 GB, free: 1.656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.6336, allocations: 232.8 kB / 0.546 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.6338, allocations: 141.3 kB / 0.5462 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.6338, allocations: 15.56 kB / 0.5462 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.6369, allocations: 2.06 MB / 0.5482 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.6371, allocations: 129.7 kB / 0.5483 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.6373, allocations: 171.5 kB / 0.5485 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.6393, allocations: 1.532 MB / 0.55 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6393, allocations: 6.781 kB / 0.55 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6393, allocations: 0 / 0.55 GB, free: 1.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.6393, allocations: 0.8438 kB / 0.55 GB, free: 1.586 MB / 462.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.002011/0.6413, allocations: 0.7702 MB / 0.5507 GB, free: 17.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6414, allocations: 8.656 kB / 0.5507 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.321e-05/0.6414, allocations: 68.7 kB / 0.5508 GB, free: 17.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/0.6421, allocations: 109.9 kB / 0.5509 GB, free: 17.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.6425, allocations: 280.7 kB / 0.5512 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.6426, allocations: 19.94 kB / 0.5512 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.6426, allocations: 25.84 kB / 0.5512 GB, free: 16.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009728/0.6436, allocations: 0.5973 MB / 0.5518 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6436, allocations: 1.984 kB / 0.5518 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.6437, allocations: 12.59 kB / 0.5518 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.6437, allocations: 19.75 kB / 0.5518 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6449, allocations: 0.6398 MB / 0.5525 GB, free: 16.79 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.002808/0.6477, allocations: 1.284 MB / 0.5537 GB, free: 16.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.6486, allocations: 356.5 kB / 0.554 GB, free: 16.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.649, allocations: 180 kB / 0.5542 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/0.6514, allocations: 1.379 MB / 0.5556 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6515, allocations: 47.17 kB / 0.5556 GB, free: 15.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.464e-06/0.6515, allocations: 0 / 0.5556 GB, free: 15.13 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.01461/0.6661, allocations: 3.476 MB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.6662, allocations: 87.11 kB / 0.5591 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.6663, allocations: 175.3 kB / 0.5593 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.6664, allocations: 32.77 kB / 0.5593 GB, free: 13.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.6665, allocations: 185 kB / 0.5595 GB, free: 13.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.6666, allocations: 174.1 kB / 0.5596 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.6668, allocations: 121 kB / 0.5597 GB, free: 13.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6669, allocations: 338.4 kB / 0.5601 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.6676, allocations: 269.1 kB / 0.5603 GB, free: 13.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.6684, allocations: 422.2 kB / 0.5607 GB, free: 13.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6699, allocations: 0.6944 MB / 0.5614 GB, free: 12.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6699, allocations: 0 / 0.5614 GB, free: 12.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001865/0.6718, allocations: 0.7831 MB / 0.5622 GB, free: 12.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6718, allocations: 8.875 kB / 0.5622 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6718, allocations: 5.781 kB / 0.5622 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.672, allocations: 55.28 kB / 0.5622 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.6732, allocations: 178.9 kB / 0.5624 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/0.6738, allocations: 1.082 MB / 0.5635 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/0.6746, allocations: 46.39 kB / 0.5635 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.6747, allocations: 42.47 kB / 0.5635 GB, free: 11.71 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.0002294/0.6749, allocations: 178.3 kB / 0.5637 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.675, allocations: 26.41 kB / 0.5637 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.6771, allocations: 0.7909 MB / 0.5645 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.6771, allocations: 8 kB / 0.5645 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6771, allocations: 3.938 kB / 0.5645 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6771, allocations: 6 kB / 0.5645 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.6803, allocations: 1.551 MB / 0.566 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6803, allocations: 3.188 kB / 0.566 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6813, allocations: 146.8 kB / 0.5662 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.6815, allocations: 43.88 kB / 0.5662 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.6816, allocations: 26.47 kB / 0.5663 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.6834, allocations: 2.726 MB / 0.5689 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6834, allocations: 6.406 kB / 0.5689 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.6861, allocations: 1.07 MB / 0.57 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6863, allocations: 97.36 kB / 0.5701 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.6864, allocations: 17.09 kB / 0.5701 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.6872, allocations: 42.72 kB / 0.5701 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.6873, allocations: 48.16 kB / 0.5702 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.6874, allocations: 34 kB / 0.5702 GB, free: 7.781 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.6875, allocations: 122 kB / 0.5703 GB, free: 7.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6875, allocations: 0.9688 kB / 0.5703 GB, free: 7.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001749/0.6892, allocations: 389.3 kB / 0.5707 GB, free: 7.66 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.005584/0.6948, allocations: 2.382 MB / 0.573 GB, free: 6.762 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.6969, allocations: 0.6485 MB / 0.5736 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.6969, allocations: 4.797 kB / 0.5736 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6981, allocations: 0.5353 MB / 0.5742 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.6989, allocations: 93.59 kB / 0.5743 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.7069, allocations: 4.231 MB / 0.5784 GB, free: 4.332 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.7072, allocations: 0.7894 MB / 0.5792 GB, free: 3.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008451/0.7081, allocations: 184.2 kB / 0.5793 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.7085, allocations: 131.3 kB / 0.5795 GB, free: 3.527 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7085, allocations: 0 / 0.5795 GB, free: 3.527 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/0.7525, allocations: 19.83 MB / 0.5988 GB, free: 9.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.24, allocations: 3.75 kB / 0.5988 GB, free: 9.07 MB / 494.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches