Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001017/0.001017, allocations: 100.2 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.001106/0.001106, 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.227/1.227, 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.001185/0.001185, allocations: 51.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07461/0.07581, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2736/0.3494, allocations: 150.6 MB / 478 MB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3507, allocations: 0.9729 MB / 478.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3508, allocations: 4 kB / 478.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3511, allocations: 31.75 kB / 479 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.3517, allocations: 242 kB / 479.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3521, allocations: 121.3 kB / 479.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.3523, allocations: 167.3 kB / 479.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.3524, allocations: 4 kB / 479.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3526, allocations: 93.39 kB / 479.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3527, allocations: 51.83 kB / 479.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3527, allocations: 4 kB / 479.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.3532, allocations: 259.7 kB / 479.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.3533, allocations: 27.89 kB / 479.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.3534, allocations: 39.81 kB / 479.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.3538, allocations: 287.3 kB / 480.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3538, allocations: 0 / 480.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3538, allocations: 0 / 480.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3538, allocations: 0 / 480.2 MB, free: 14.08 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000469/0.3543, allocations: 408 kB / 480.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3543, allocations: 8.031 kB / 480.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.3544, allocations: 42.75 kB / 480.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.3565, allocations: 197.1 kB / 480.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3567, allocations: 204.2 kB / 481.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3567, allocations: 9.625 kB / 481.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.3568, allocations: 8 kB / 481.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.3573, allocations: 224.1 kB / 481.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3573, allocations: 0 / 481.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.3573, allocations: 4 kB / 481.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3573, allocations: 4 kB / 481.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.3578, allocations: 167.8 kB / 481.5 MB, free: 12.73 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.0009516/0.3588, allocations: 0.5922 MB / 482.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.3591, allocations: 139.1 kB / 482.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3593, allocations: 68.81 kB / 482.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3593, allocations: 8.234 kB / 482.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3593, allocations: 38.56 kB / 482.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.3593, allocations: 0 / 482.3 MB, free: 11.8 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.005205/0.3645, allocations: 1.31 MB / 483.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3646, allocations: 51.41 kB / 483.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.3647, allocations: 109.8 kB / 483.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3647, allocations: 29.7 kB / 483.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.3648, allocations: 99.94 kB / 483.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.3648, allocations: 67.03 kB / 484 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.3649, allocations: 57.59 kB / 484 MB, free: 9.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.365, allocations: 318.8 kB / 484.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3652, allocations: 71.97 kB / 484.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3654, allocations: 107.3 kB / 484.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3657, allocations: 187.3 kB / 484.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3657, allocations: 0 / 484.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000472/0.3662, allocations: 258.2 kB / 485 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3662, allocations: 4 kB / 485 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3662, allocations: 0 / 485 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.3664, allocations: 51.27 kB / 485 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.3667, allocations: 63.98 kB / 485.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/0.3671, allocations: 0.5641 MB / 485.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3673, allocations: 4 kB / 485.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.3673, allocations: 24 kB / 485.7 MB, free: 8.258 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.0001098/0.3674, allocations: 125.8 kB / 485.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.3675, allocations: 16 kB / 485.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/0.3683, allocations: 347.2 kB / 486.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3683, allocations: 7.875 kB / 486.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3683, allocations: 4.875 kB / 486.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3683, allocations: 3.984 kB / 486.2 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008834/0.3692, allocations: 0.6236 MB / 486.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3692, allocations: 0 / 486.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.3696, allocations: 59.95 kB / 486.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.607e-05/0.3696, allocations: 20.84 kB / 486.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.3697, allocations: 19.98 kB / 486.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000856/0.3705, allocations: 1.363 MB / 488.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3705, allocations: 4.031 kB / 488.2 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.3712, allocations: 438.5 kB / 488.7 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3712, allocations: 89.03 kB / 488.8 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.3713, allocations: 4 kB / 488.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3715, allocations: 7.984 kB / 488.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3716, allocations: 23.92 kB / 488.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.3716, allocations: 31.98 kB / 488.8 MB, free: 4.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.322e-05/0.3717, allocations: 87.27 kB / 488.9 MB, free: 4.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3717, allocations: 0 / 488.9 MB, free: 4.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.372, allocations: 83.88 kB / 489 MB, free: 4.652 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 (21): * Single equations (assignments): 20 * 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.001069/0.3731, allocations: 1.009 MB / 490 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.3736, allocations: 223.9 kB / 490.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3736, allocations: 0 / 490.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.3739, allocations: 218.5 kB / 490.4 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3743, allocations: 48.33 kB / 490.5 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3768, allocations: 2.053 MB / 492.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3771, allocations: 0.7046 MB / 493.2 MB, free: 212 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000397/0.3775, allocations: 77.39 kB / 493.3 MB, free: 136 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.3777, allocations: 75.39 kB / 493.4 MB, free: 60 kB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3777, allocations: 0 / 493.4 MB, free: 60 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7669/1.145, allocations: 7.246 MB / 0.4889 GB, free: 8.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.59, allocations: 19.73 kB / 0.4889 GB, free: 8.734 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches