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.00112/0.00112, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.00118/0.00118, allocations: 190 kB / 18.07 MB, free: 5.414 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.246/1.246, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001034/0.001034, allocations: 55.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07117/0.07222, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2659/0.3382, allocations: 148.6 MB / 475.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.34, allocations: 1.542 MB / 476.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3401, allocations: 3.938 kB / 476.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.3404, allocations: 43.81 kB / 476.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00085/0.3413, allocations: 350.5 kB / 477.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.3417, allocations: 144.3 kB / 477.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.342, allocations: 251.2 kB / 477.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.3421, allocations: 11.98 kB / 477.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3423, allocations: 69.55 kB / 477.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3424, allocations: 63.73 kB / 477.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3424, allocations: 4 kB / 477.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.3435, allocations: 0.6704 MB / 478.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.3436, allocations: 31.89 kB / 478.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.3437, allocations: 43.8 kB / 478.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.3443, allocations: 442.8 kB / 479 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3444, allocations: 4 kB / 479 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3444, allocations: 0 / 479 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3444, allocations: 0 / 479 MB, free: 15.32 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.0005218/0.3449, allocations: 428.2 kB / 479.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.345, allocations: 8.031 kB / 479.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.345, allocations: 42.73 kB / 479.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.3471, allocations: 192.6 kB / 479.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3473, allocations: 204.4 kB / 479.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3473, allocations: 11.94 kB / 479.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3474, allocations: 8 kB / 479.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.3478, allocations: 205.4 kB / 480 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3478, allocations: 3.984 kB / 480 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.3479, allocations: 4 kB / 480 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3479, allocations: 0 / 480 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.3484, allocations: 247.8 kB / 480.3 MB, free: 13.89 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.001544/0.35, allocations: 0.6685 MB / 481 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.3504, allocations: 194.5 kB / 481.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3506, allocations: 92.81 kB / 481.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.3507, allocations: 89.09 kB / 481.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3508, allocations: 38.5 kB / 481.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3508, allocations: 0 / 481.4 MB, free: 12.73 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.005223/0.356, allocations: 1.526 MB / 482.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.356, allocations: 59.41 kB / 482.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.3561, allocations: 105.8 kB / 483 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3562, allocations: 33.7 kB / 483.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.3562, allocations: 104.2 kB / 483.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.3563, allocations: 63.05 kB / 483.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.3564, allocations: 53.45 kB / 483.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.3565, allocations: 318.8 kB / 483.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3567, allocations: 95.95 kB / 483.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.3569, allocations: 127.2 kB / 483.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.3573, allocations: 227.3 kB / 484 MB, free: 9.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3574, allocations: 3.938 kB / 484.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005737/0.3579, allocations: 282.2 kB / 484.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.358, allocations: 4 kB / 484.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.358, allocations: 3.938 kB / 484.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.3581, allocations: 28.94 kB / 484.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.3585, allocations: 55.95 kB / 484.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003006/0.3588, allocations: 0.5289 MB / 484.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.3591, allocations: 19.95 kB / 485 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3592, allocations: 4 kB / 485 MB, free: 8.895 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.0001147/0.3593, allocations: 137.8 kB / 485.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.3593, allocations: 7.906 kB / 485.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.3601, allocations: 315.1 kB / 485.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3601, allocations: 0 / 485.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3601, allocations: 3.938 kB / 485.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3601, allocations: 4 kB / 485.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.3611, allocations: 0.679 MB / 486.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3611, allocations: 0 / 486.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.3615, allocations: 51.89 kB / 486.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.678e-05/0.3616, allocations: 24.84 kB / 486.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3617, allocations: 3.984 kB / 486.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007527/0.3624, allocations: 1.266 MB / 487.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3624, allocations: 4.031 kB / 487.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.3632, allocations: 458.7 kB / 487.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.3633, allocations: 81.02 kB / 488 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3633, allocations: 11.94 kB / 488 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.3636, allocations: 12.05 kB / 488 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3637, allocations: 23.91 kB / 488 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.3637, allocations: 12.86 kB / 488 MB, free: 5.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.3637, allocations: 91.27 kB / 488.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3638, allocations: 0 / 488.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.3642, allocations: 127.9 kB / 488.3 MB, free: 5.344 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.001535/0.3658, allocations: 1.137 MB / 489.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000548/0.3663, allocations: 228 kB / 489.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3663, allocations: 0 / 489.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.3667, allocations: 230.6 kB / 489.8 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.3671, allocations: 52.08 kB / 489.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.3698, allocations: 2.162 MB / 492.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.37, allocations: 0.7088 MB / 492.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003927/0.3704, allocations: 61.31 kB / 492.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3706, allocations: 39.42 kB / 492.9 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3706, allocations: 0 / 492.9 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9988/1.369, allocations: 7.701 MB / 0.4888 GB, free: 8.797 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.37, allocations: 232.3 kB / 0.4891 GB, free: 8.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/3.214, allocations: 0 / 0.4891 GB, free: 8.539 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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches