Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 118.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.237, allocations: 50.54 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3781/0.6151, allocations: 155.4 MB / 0.5509 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.6183, allocations: 4.036 MB / 0.5549 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.6184, allocations: 10.84 kB / 0.5549 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.6188, allocations: 107.1 kB / 0.555 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.621, allocations: 1.175 MB / 0.5561 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000807/0.6219, allocations: 379.9 kB / 0.5565 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.6223, allocations: 468.9 kB / 0.5569 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.6224, allocations: 15.7 kB / 0.5569 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.6227, allocations: 246.9 kB / 0.5572 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.6229, allocations: 140 kB / 0.5573 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.6229, allocations: 17.48 kB / 0.5573 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.6257, allocations: 2.067 MB / 0.5594 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.6258, allocations: 132.6 kB / 0.5595 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.626, allocations: 168.2 kB / 0.5596 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.6276, allocations: 1.544 MB / 0.5611 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6276, allocations: 2.953 kB / 0.5611 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6276, allocations: 2.125 kB / 0.5612 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.6276, allocations: 5.094 kB / 0.5612 GB, free: 0.7305 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.002022/0.6296, allocations: 0.7688 MB / 0.5619 GB, free: 16.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6297, allocations: 10.12 kB / 0.5619 GB, free: 16.26 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.935e-05/0.6298, allocations: 67.2 kB / 0.562 GB, free: 16.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/0.6305, allocations: 109.3 kB / 0.5621 GB, free: 16.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.6309, allocations: 283.2 kB / 0.5624 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.6309, allocations: 18.34 kB / 0.5624 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.631, allocations: 26.5 kB / 0.5624 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.6319, allocations: 0.5995 MB / 0.563 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.632, allocations: 0 / 0.563 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.632, allocations: 13.47 kB / 0.563 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.6321, allocations: 19.69 kB / 0.563 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.6331, allocations: 0.6465 MB / 0.5636 GB, free: 15.92 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.002534/0.6356, allocations: 1.263 MB / 0.5649 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.6365, allocations: 360.2 kB / 0.5652 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.6369, allocations: 172.5 kB / 0.5654 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/0.6391, allocations: 1.369 MB / 0.5667 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.6391, allocations: 43.75 kB / 0.5668 GB, free: 14.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.6391, allocations: 4 kB / 0.5668 GB, free: 14.24 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.0138/0.6529, allocations: 3.489 MB / 0.5702 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.653, allocations: 85.95 kB / 0.5703 GB, free: 12.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.6532, allocations: 183.6 kB / 0.5704 GB, free: 12.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.6532, allocations: 40.05 kB / 0.5705 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.6533, allocations: 179.5 kB / 0.5706 GB, free: 12.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.6535, allocations: 174.5 kB / 0.5708 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.6536, allocations: 117.8 kB / 0.5709 GB, free: 12.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6538, allocations: 335.1 kB / 0.5712 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.6544, allocations: 266.9 kB / 0.5715 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/0.6551, allocations: 424.9 kB / 0.5719 GB, free: 12.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6564, allocations: 0.6938 MB / 0.5726 GB, free: 11.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6564, allocations: 2.938 kB / 0.5726 GB, free: 11.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001605/0.658, allocations: 0.7872 MB / 0.5734 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6581, allocations: 7.688 kB / 0.5734 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6581, allocations: 5.5 kB / 0.5734 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.6582, allocations: 54.89 kB / 0.5734 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6593, allocations: 185.3 kB / 0.5736 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005915/0.6599, allocations: 1.074 MB / 0.5746 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.6607, allocations: 49.56 kB / 0.5747 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.6607, allocations: 36.55 kB / 0.5747 GB, free: 10.73 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.0002101/0.661, allocations: 177 kB / 0.5749 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.6611, allocations: 30.61 kB / 0.5749 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.6629, allocations: 0.7771 MB / 0.5757 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6629, allocations: 6.469 kB / 0.5757 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.663, allocations: 6.953 kB / 0.5757 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.663, allocations: 6.078 kB / 0.5757 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.6658, allocations: 1.553 MB / 0.5772 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6658, allocations: 6.531 kB / 0.5772 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6668, allocations: 149.3 kB / 0.5774 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.667, allocations: 42.42 kB / 0.5774 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.667, allocations: 23.11 kB / 0.5774 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.6686, allocations: 2.734 MB / 0.5801 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.6687, allocations: 5.797 kB / 0.5801 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.6708, allocations: 1.072 MB / 0.5811 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.6709, allocations: 103.4 kB / 0.5812 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.671, allocations: 15.12 kB / 0.5813 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.6718, allocations: 40.06 kB / 0.5813 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.6719, allocations: 46.06 kB / 0.5813 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.6719, allocations: 42.25 kB / 0.5814 GB, free: 6.727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.672, allocations: 127.5 kB / 0.5815 GB, free: 6.648 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.672, allocations: 0 / 0.5815 GB, free: 6.648 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001252/0.6733, allocations: 388.3 kB / 0.5819 GB, free: 6.605 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.004657/0.6779, allocations: 2.372 MB / 0.5842 GB, free: 5.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.6796, allocations: 0.6522 MB / 0.5848 GB, free: 5.605 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6797, allocations: 0 / 0.5848 GB, free: 5.605 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009386/0.6806, allocations: 0.5396 MB / 0.5854 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.6814, allocations: 96.69 kB / 0.5854 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.6885, allocations: 4.233 MB / 0.5896 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.6889, allocations: 0.7828 MB / 0.5903 GB, free: 2.461 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007929/0.6897, allocations: 186.3 kB / 0.5905 GB, free: 2.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/0.69, allocations: 126.3 kB / 0.5906 GB, free: 2.359 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.69, allocations: 0 / 0.5906 GB, free: 2.359 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04821/0.7383, allocations: 20.04 MB / 0.6102 GB, free: 4.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.2, allocations: 4 kB / 0.6102 GB, free: 4.105 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches