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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 55.91 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2365, allocations: 53.4 MB / 431.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3861/0.6227, allocations: 134.1 MB / 0.5527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.6264, allocations: 3.606 MB / 0.5562 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.6265, allocations: 3.594 kB / 0.5562 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.6269, allocations: 94.73 kB / 0.5563 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.6294, allocations: 1.221 MB / 0.5575 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.6303, allocations: 392.8 kB / 0.5579 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.6308, allocations: 467.2 kB / 0.5583 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.6309, allocations: 14.97 kB / 0.5583 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.6312, allocations: 254.4 kB / 0.5586 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.6314, allocations: 145.8 kB / 0.5587 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.6315, allocations: 18.44 kB / 0.5587 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.6343, allocations: 1.851 MB / 0.5605 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.6344, allocations: 139.5 kB / 0.5607 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.6346, allocations: 151.7 kB / 0.5608 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.6366, allocations: 1.468 MB / 0.5623 GB, free: 15.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6366, allocations: 0 / 0.5623 GB, free: 15.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6366, allocations: 0 / 0.5623 GB, free: 15.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.6366, allocations: 0 / 0.5623 GB, free: 15.74 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.002045/0.6387, allocations: 0.7113 MB / 0.563 GB, free: 15.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6387, allocations: 11.03 kB / 0.563 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.6387, allocations: 7.406 kB / 0.563 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.6388, allocations: 73.67 kB / 0.563 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006896/0.6395, allocations: 103.9 kB / 0.5631 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.6398, allocations: 226.6 kB / 0.5634 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6399, allocations: 22.75 kB / 0.5634 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.6399, allocations: 23.16 kB / 0.5634 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.641, allocations: 0.9037 MB / 0.5643 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.641, allocations: 0 / 0.5643 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.6411, allocations: 9.219 kB / 0.5643 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.6411, allocations: 29.23 kB / 0.5643 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.6422, allocations: 0.6472 MB / 0.565 GB, free: 14.7 MB / 462.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.002621/0.6448, allocations: 1.178 MB / 0.5661 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/0.6457, allocations: 353.4 kB / 0.5664 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.646, allocations: 169.8 kB / 0.5666 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.6478, allocations: 487.5 kB / 0.5671 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.6479, allocations: 34.83 kB / 0.5671 GB, free: 14.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.903e-06/0.6479, allocations: 2.625 kB / 0.5671 GB, free: 14.17 MB / 462.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.01361/0.6615, allocations: 3.197 MB / 0.5702 GB, free: 13.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.6616, allocations: 86.23 kB / 0.5703 GB, free: 13.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.6617, allocations: 184 kB / 0.5705 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.6618, allocations: 32.27 kB / 0.5705 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6619, allocations: 189.4 kB / 0.5707 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.662, allocations: 180.5 kB / 0.5709 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.6622, allocations: 117.5 kB / 0.571 GB, free: 12.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6624, allocations: 340.1 kB / 0.5713 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/0.663, allocations: 265 kB / 0.5716 GB, free: 12.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.6638, allocations: 424.2 kB / 0.572 GB, free: 12.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.6651, allocations: 0.6977 MB / 0.5726 GB, free: 12.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6652, allocations: 0 / 0.5726 GB, free: 12.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001741/0.6669, allocations: 0.7795 MB / 0.5734 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6669, allocations: 8.844 kB / 0.5734 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6669, allocations: 6.812 kB / 0.5734 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.6671, allocations: 59.27 kB / 0.5735 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.6682, allocations: 185.6 kB / 0.5737 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007256/0.6689, allocations: 1.074 MB / 0.5747 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.6697, allocations: 46.31 kB / 0.5747 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.6697, allocations: 40.03 kB / 0.5748 GB, free: 11.03 MB / 462.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.0002439/0.67, allocations: 175 kB / 0.5749 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.6701, allocations: 28.33 kB / 0.575 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.6721, allocations: 0.7802 MB / 0.5757 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6721, allocations: 6.594 kB / 0.5757 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.6721, allocations: 0 / 0.5757 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.6721, allocations: 8.219 kB / 0.5758 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.675, allocations: 1.457 MB / 0.5772 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6751, allocations: 10.72 kB / 0.5772 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6761, allocations: 150.2 kB / 0.5773 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.6762, allocations: 40.44 kB / 0.5774 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.6763, allocations: 23.98 kB / 0.5774 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.678, allocations: 2.522 MB / 0.5799 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.678, allocations: 4.406 kB / 0.5799 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.6804, allocations: 1.081 MB / 0.5809 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.6805, allocations: 20.17 kB / 0.5809 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.6806, allocations: 14.78 kB / 0.5809 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.6813, allocations: 42.8 kB / 0.581 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.6814, allocations: 50.94 kB / 0.581 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.6815, allocations: 30.86 kB / 0.5811 GB, free: 7.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.6816, allocations: 130.6 kB / 0.5812 GB, free: 7.344 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6816, allocations: 0 / 0.5812 GB, free: 7.344 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001355/0.6829, allocations: 395.2 kB / 0.5816 GB, free: 7.293 MB / 462.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.004866/0.6878, allocations: 2.377 MB / 0.5839 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.6896, allocations: 0.6367 MB / 0.5845 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.6896, allocations: 0 / 0.5845 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6906, allocations: 0.5255 MB / 0.585 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.6914, allocations: 103.2 kB / 0.5851 GB, free: 6.047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.699, allocations: 4.257 MB / 0.5893 GB, free: 3.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.6992, allocations: 171 kB / 0.5894 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008143/0.7, allocations: 184.5 kB / 0.5896 GB, free: 3.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.7004, allocations: 135 kB / 0.5897 GB, free: 3.555 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7004, allocations: 1.094 kB / 0.5897 GB, free: 3.555 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.7524, allocations: 20.85 MB / 0.6101 GB, free: 5.137 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.97, allocations: 3.984 kB / 0.6101 GB, free: 5.133 MB / 478.1 MB " [Timeout remaining time 645] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.87744593503885]