Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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 3.2.3+maint.om/package.mo", uses=false) 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.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.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.001023/0.001023, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001091/0.001091, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 47.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08178/0.08297, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3331/0.4161, allocations: 150.8 MB / 478.2 MB, free: 220 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.4181, allocations: 1.496 MB / 479.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.4182, allocations: 0 / 479.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.4186, allocations: 51.73 kB / 479.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009951/0.4196, allocations: 383.7 kB / 480.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.4201, allocations: 167.4 kB / 480.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.4203, allocations: 187.2 kB / 480.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.4204, allocations: 4 kB / 480.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.4206, allocations: 69.59 kB / 480.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.4207, allocations: 63.75 kB / 480.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4207, allocations: 8 kB / 480.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4218, allocations: 0.5768 MB / 481.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.4219, allocations: 27.95 kB / 481.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.4219, allocations: 57.33 kB / 481.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.4226, allocations: 387.1 kB / 481.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4226, allocations: 4 kB / 481.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4226, allocations: 0 / 481.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4226, allocations: 0 / 481.7 MB, free: 12.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005806/0.4232, allocations: 432.1 kB / 482.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4233, allocations: 8.031 kB / 482.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.4233, allocations: 42.73 kB / 482.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.4256, allocations: 193.1 kB / 482.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4259, allocations: 200.5 kB / 482.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4259, allocations: 15.88 kB / 482.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.426, allocations: 11.98 kB / 482.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.4265, allocations: 205.5 kB / 482.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4265, allocations: 0 / 482.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.4265, allocations: 7.984 kB / 482.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4265, allocations: 0 / 482.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.4271, allocations: 243.8 kB / 483 MB, free: 11.34 MB / 382.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.001762/0.4289, allocations: 0.6758 MB / 483.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.4294, allocations: 190.4 kB / 483.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.4296, allocations: 93.56 kB / 484 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.4298, allocations: 89.09 kB / 484 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4298, allocations: 38.56 kB / 484.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.4298, allocations: 0 / 484.1 MB, free: 10.17 MB / 382.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0057/0.4355, allocations: 1.533 MB / 485.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4355, allocations: 55.41 kB / 485.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.4356, allocations: 105.8 kB / 485.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4357, allocations: 33.7 kB / 485.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.4357, allocations: 104.2 kB / 485.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.4358, allocations: 63.05 kB / 486 MB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.4359, allocations: 53.45 kB / 486 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.436, allocations: 322.8 kB / 486.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4363, allocations: 95.89 kB / 486.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.4365, allocations: 123.4 kB / 486.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.4369, allocations: 227.2 kB / 486.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.437, allocations: 3.938 kB / 486.8 MB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006112/0.4376, allocations: 282.2 kB / 487.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4376, allocations: 4 kB / 487.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4376, allocations: 0 / 487.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.4377, allocations: 24.84 kB / 487.1 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.4382, allocations: 59.89 kB / 487.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000342/0.4386, allocations: 0.533 MB / 487.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.4389, allocations: 8.031 kB / 487.7 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.4389, allocations: 11.98 kB / 487.7 MB, free: 6.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.4391, allocations: 133.7 kB / 487.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.4391, allocations: 7.906 kB / 487.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.4399, allocations: 327.6 kB / 488.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.44, allocations: 0 / 488.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.44, allocations: 3.938 kB / 488.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.44, allocations: 4 kB / 488.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4411, allocations: 0.6757 MB / 488.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4411, allocations: 0 / 488.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.4416, allocations: 52.05 kB / 488.9 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-05/0.4417, allocations: 24.78 kB / 488.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.4417, allocations: 7.984 kB / 488.9 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009625/0.4427, allocations: 1.364 MB / 490.3 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.4427, allocations: 4.812 kB / 490.3 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.4435, allocations: 449.9 kB / 490.7 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.4436, allocations: 88.95 kB / 490.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.4436, allocations: 4 kB / 490.8 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.444, allocations: 15.98 kB / 490.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.444, allocations: 23.91 kB / 490.9 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.4441, allocations: 15.98 kB / 490.9 MB, free: 2.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.4441, allocations: 91.27 kB / 491 MB, free: 2.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4441, allocations: 0 / 491 MB, free: 2.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.4446, allocations: 123.9 kB / 491.1 MB, free: 2.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.00163/0.4463, allocations: 1.129 MB / 492.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.4469, allocations: 247.8 kB / 492.5 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4469, allocations: 0 / 492.5 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.4473, allocations: 226.6 kB / 492.7 MB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.4478, allocations: 48.08 kB / 492.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.4506, allocations: 2.132 MB / 494.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4509, allocations: 0.7046 MB / 495.6 MB, free: 14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.4513, allocations: 61.31 kB / 495.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.4514, allocations: 39.41 kB / 495.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4514, allocations: 0 / 495.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.4813, allocations: 7.95 MB / 0.4918 GB, free: 5.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.72, allocations: 8.062 kB / 0.4918 GB, free: 5.867 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches