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: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001087, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001033/0.001033, allocations: 191.9 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.292/1.292, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001238/0.001238, allocations: 55.91 kB / 280.6 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07795/0.0792, allocations: 46.63 MB / 327.3 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2898/0.3691, allocations: 150.8 MB / 478.1 MB, free: 308 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.3711, allocations: 1.493 MB / 479.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.3713, allocations: 4 kB / 479.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3716, allocations: 50.72 kB / 479.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.3726, allocations: 382.2 kB / 480 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.3732, allocations: 167.4 kB / 480.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.3735, allocations: 187.2 kB / 480.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.3736, allocations: 4 kB / 480.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.3737, allocations: 79.75 kB / 480.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3739, allocations: 59.7 kB / 480.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3739, allocations: 8 kB / 480.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3751, allocations: 0.5652 MB / 481.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.3752, allocations: 27.91 kB / 481.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.3753, allocations: 61.56 kB / 481.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.376, allocations: 396.6 kB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.376, allocations: 0 / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.376, allocations: 0 / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.376, allocations: 0 / 481.6 MB, free: 12.86 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.0005149/0.3765, allocations: 420.1 kB / 482 MB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3766, allocations: 12.03 kB / 482 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.3789, allocations: 201 kB / 482.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3791, allocations: 208.2 kB / 482.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3792, allocations: 12.25 kB / 482.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.3793, allocations: 8 kB / 482.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.3797, allocations: 205.5 kB / 482.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3797, allocations: 0 / 482.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.3798, allocations: 0 / 482.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3798, allocations: 4 kB / 482.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.3804, allocations: 247.8 kB / 482.9 MB, free: 11.48 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.001808/0.3822, allocations: 0.664 MB / 483.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.3827, allocations: 202.4 kB / 483.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3829, allocations: 88.83 kB / 483.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.383, allocations: 93.08 kB / 483.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.888e-05/0.3831, allocations: 38.56 kB / 483.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3831, allocations: 0 / 483.9 MB, free: 10.3 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.005854/0.389, allocations: 1.535 MB / 485.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.389, allocations: 51.41 kB / 485.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.3891, allocations: 113.8 kB / 485.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3892, allocations: 29.7 kB / 485.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.3892, allocations: 108.2 kB / 485.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.3893, allocations: 63.05 kB / 485.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.3894, allocations: 45.56 kB / 485.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3895, allocations: 322.8 kB / 486.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3897, allocations: 95.95 kB / 486.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.39, allocations: 119.4 kB / 486.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.3905, allocations: 227.3 kB / 486.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3905, allocations: 0 / 486.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006105/0.3911, allocations: 286.1 kB / 486.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3912, allocations: 11.94 kB / 486.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3912, allocations: 4.094 kB / 486.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.3913, allocations: 24.84 kB / 486.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.3918, allocations: 55.89 kB / 487 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003048/0.3921, allocations: 0.5328 MB / 487.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.3924, allocations: 16.11 kB / 487.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3924, allocations: 8 kB / 487.6 MB, free: 6.469 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.0001157/0.3926, allocations: 129.7 kB / 487.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.3926, allocations: 11.91 kB / 487.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.3934, allocations: 323.5 kB / 488 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3934, allocations: 4 kB / 488 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3934, allocations: 3.938 kB / 488 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3934, allocations: 0 / 488 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3945, allocations: 0.6718 MB / 488.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3945, allocations: 4 kB / 488.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.395, allocations: 51.89 kB / 488.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/0.3951, allocations: 20.84 kB / 488.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3951, allocations: 7.984 kB / 488.8 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008608/0.396, allocations: 1.367 MB / 490.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.396, allocations: 2.25 kB / 490.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.3968, allocations: 450.6 kB / 490.6 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3969, allocations: 88.98 kB / 490.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.397, allocations: 8 kB / 490.7 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.3973, allocations: 15.92 kB / 490.7 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.3974, allocations: 11.98 kB / 490.7 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3974, allocations: 15.98 kB / 490.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.3975, allocations: 83.34 kB / 490.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3975, allocations: 0 / 490.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005057/0.398, allocations: 135.9 kB / 490.9 MB, free: 2.816 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.0006973/0.3987, allocations: 250.9 kB / 491.2 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.3993, allocations: 246.8 kB / 491.4 MB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3993, allocations: 0 / 491.4 MB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.3997, allocations: 238.9 kB / 491.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4001, allocations: 39.91 kB / 491.7 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.401, allocations: 487.8 kB / 492.2 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4012, allocations: 0.7123 MB / 492.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.4016, allocations: 57.61 kB / 492.9 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.4017, allocations: 23.42 kB / 493 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4017, allocations: 3.938 kB / 493 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of Templates: time 0.009781/0.4115, allocations: 6.245 MB / 499.2 MB, free: 10.45 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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