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.001287/0.001287, allocations: 114 kB / 20.43 MB, free: 1.457 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.001405/0.001405, allocations: 214.6 kB / 23.74 MB, free: 4.672 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.376/1.376, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 55.91 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2386, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3771/0.6157, allocations: 155.9 MB / 0.5733 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.6191, allocations: 4.056 MB / 0.5773 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.6192, allocations: 6.25 kB / 0.5773 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.6196, allocations: 107 kB / 0.5774 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.6221, allocations: 1.242 MB / 0.5786 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.623, allocations: 399 kB / 0.579 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.6235, allocations: 466.6 kB / 0.5794 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.6236, allocations: 10.94 kB / 0.5795 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.624, allocations: 260.3 kB / 0.5797 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.6242, allocations: 150.1 kB / 0.5798 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.6242, allocations: 15.03 kB / 0.5799 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.6277, allocations: 2.269 MB / 0.5821 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.6278, allocations: 139.1 kB / 0.5822 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.628, allocations: 165 kB / 0.5824 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.6301, allocations: 1.555 MB / 0.5839 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6301, allocations: 1.203 kB / 0.5839 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6301, allocations: 2.219 kB / 0.5839 GB, free: 11.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.6301, allocations: 0 / 0.5839 GB, free: 11.33 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.002063/0.6322, allocations: 0.7135 MB / 0.5846 GB, free: 10.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.6322, allocations: 10.77 kB / 0.5846 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.163e-05/0.6323, allocations: 68.72 kB / 0.5847 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006511/0.6329, allocations: 104.9 kB / 0.5848 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.6334, allocations: 222.4 kB / 0.585 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.6334, allocations: 25.62 kB / 0.585 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.6334, allocations: 27.84 kB / 0.585 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6345, allocations: 0.5935 MB / 0.5856 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.6345, allocations: 0 / 0.5856 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.6345, allocations: 11.62 kB / 0.5856 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.6346, allocations: 24.53 kB / 0.5856 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6357, allocations: 0.6504 MB / 0.5863 GB, free: 10.26 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.002781/0.6385, allocations: 1.249 MB / 0.5875 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008624/0.6393, allocations: 356.5 kB / 0.5878 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.6398, allocations: 169.8 kB / 0.588 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.6416, allocations: 473.2 kB / 0.5884 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.6416, allocations: 40.59 kB / 0.5885 GB, free: 9.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.6416, allocations: 1.969 kB / 0.5885 GB, free: 9.305 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.01384/0.6555, allocations: 3.201 MB / 0.5916 GB, free: 7.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.6556, allocations: 80.17 kB / 0.5917 GB, free: 7.836 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.6557, allocations: 190.3 kB / 0.5919 GB, free: 7.707 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.6558, allocations: 29.39 kB / 0.5919 GB, free: 7.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.6559, allocations: 188.8 kB / 0.5921 GB, free: 7.512 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.6561, allocations: 181.2 kB / 0.5922 GB, free: 7.383 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.6562, allocations: 124 kB / 0.5924 GB, free: 7.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6564, allocations: 333.9 kB / 0.5927 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.657, allocations: 264.2 kB / 0.5929 GB, free: 6.969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/0.6578, allocations: 424.5 kB / 0.5933 GB, free: 6.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.6593, allocations: 0.6984 MB / 0.594 GB, free: 6.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6593, allocations: 2.219 kB / 0.594 GB, free: 6.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001842/0.6611, allocations: 0.7814 MB / 0.5948 GB, free: 6.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6611, allocations: 11.78 kB / 0.5948 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6611, allocations: 4.969 kB / 0.5948 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.6614, allocations: 53.72 kB / 0.5949 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.6624, allocations: 181.1 kB / 0.595 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007492/0.6632, allocations: 1.072 MB / 0.5961 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.6639, allocations: 54.89 kB / 0.5961 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.664, allocations: 40 kB / 0.5962 GB, free: 4.91 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.0002567/0.6643, allocations: 169.4 kB / 0.5963 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6644, allocations: 26.83 kB / 0.5964 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.6664, allocations: 0.7863 MB / 0.5971 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.6665, allocations: 8.859 kB / 0.5971 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.6665, allocations: 10.19 kB / 0.5971 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6665, allocations: 3.938 kB / 0.5971 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.6697, allocations: 1.525 MB / 0.5986 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6697, allocations: 4.016 kB / 0.5986 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6707, allocations: 150.2 kB / 0.5988 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.6709, allocations: 43.66 kB / 0.5988 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.6709, allocations: 22.48 kB / 0.5988 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.6729, allocations: 2.518 MB / 0.6013 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6729, allocations: 4.594 kB / 0.6013 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.6753, allocations: 1.078 MB / 0.6024 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.6754, allocations: 23.39 kB / 0.6024 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.6755, allocations: 19.56 kB / 0.6024 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.6762, allocations: 40.3 kB / 0.6024 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.6763, allocations: 43.27 kB / 0.6025 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.6764, allocations: 33.11 kB / 0.6025 GB, free: 15.63 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.6765, allocations: 133.6 kB / 0.6026 GB, free: 15.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6765, allocations: 0 / 0.6026 GB, free: 15.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001246/0.6777, allocations: 395.4 kB / 0.603 GB, free: 15.44 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.004822/0.6825, allocations: 2.387 MB / 0.6053 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.6844, allocations: 0.642 MB / 0.606 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6844, allocations: 0 / 0.606 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6855, allocations: 0.5219 MB / 0.6065 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.6863, allocations: 104.2 kB / 0.6066 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.6948, allocations: 4.245 MB / 0.6107 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.6953, allocations: 0.7813 MB / 0.6115 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008679/0.6962, allocations: 187.1 kB / 0.6117 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.6966, allocations: 127.4 kB / 0.6118 GB, free: 7.078 MB / 478.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6966, allocations: 0 / 0.6118 GB, free: 7.078 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06028/0.7568, allocations: 20.4 MB / 0.6317 GB, free: 2.758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.53, allocations: 8 kB / 0.6317 GB, free: 2.75 MB / 494.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.082007220946252]