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: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001333, 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.001515/0.001515, 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.283/1.283, 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.001174/0.001174, allocations: 55.92 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07489/0.07607, allocations: 46.63 MB / 327.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3111/0.3872, allocations: 150.6 MB / 477.9 MB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3885, allocations: 0.968 MB / 478.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3886, allocations: 4 kB / 478.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.3889, allocations: 35.77 kB / 478.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.3896, allocations: 248.4 kB / 479.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3899, allocations: 115.7 kB / 479.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.3902, allocations: 167.3 kB / 479.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.3902, allocations: 7.938 kB / 479.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3904, allocations: 91.62 kB / 479.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3906, allocations: 47.83 kB / 479.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3906, allocations: 8 kB / 479.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.3911, allocations: 251.7 kB / 479.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3912, allocations: 31.84 kB / 479.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.3913, allocations: 39.86 kB / 479.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.3918, allocations: 292.9 kB / 480.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3918, allocations: 0 / 480.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3918, allocations: 0 / 480.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3918, allocations: 0 / 480.1 MB, free: 14.14 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.0005253/0.3923, allocations: 403.9 kB / 480.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3924, allocations: 12.02 kB / 480.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.3945, allocations: 193.1 kB / 480.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3948, allocations: 204.4 kB / 480.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3948, allocations: 11.94 kB / 480.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.3949, allocations: 9.594 kB / 480.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.3953, allocations: 216.1 kB / 481.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3954, allocations: 4 kB / 481.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.3954, allocations: 8 kB / 481.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3954, allocations: 0 / 481.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.3959, allocations: 171.8 kB / 481.3 MB, free: 12.84 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.001015/0.3969, allocations: 0.5844 MB / 481.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.3972, allocations: 138.5 kB / 482.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.3974, allocations: 72.81 kB / 482.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3974, allocations: 4 kB / 482.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3975, allocations: 34.5 kB / 482.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.3975, allocations: 0 / 482.2 MB, free: 11.93 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.005367/0.4028, allocations: 1.31 MB / 483.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.4029, allocations: 59.41 kB / 483.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.403, allocations: 117.8 kB / 483.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.403, allocations: 29.7 kB / 483.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.4031, allocations: 91.95 kB / 483.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.4031, allocations: 75.02 kB / 483.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.4032, allocations: 53.61 kB / 483.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4034, allocations: 318.8 kB / 484.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.4035, allocations: 71.95 kB / 484.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.4037, allocations: 108.1 kB / 484.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.4041, allocations: 183.3 kB / 484.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4041, allocations: 0 / 484.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004944/0.4046, allocations: 262.2 kB / 484.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4046, allocations: 8 kB / 484.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4046, allocations: 0 / 484.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.4048, allocations: 48.83 kB / 484.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.4051, allocations: 55.59 kB / 484.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003749/0.4055, allocations: 0.568 MB / 485.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4057, allocations: 4.031 kB / 485.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.4057, allocations: 31.98 kB / 485.5 MB, free: 8.367 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.0001142/0.4059, allocations: 121.8 kB / 485.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.4059, allocations: 7.906 kB / 485.7 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.4067, allocations: 347 kB / 486 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4067, allocations: 7.922 kB / 486 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4067, allocations: 0 / 486 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4068, allocations: 4 kB / 486 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.4077, allocations: 0.6274 MB / 486.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4077, allocations: 0 / 486.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.4081, allocations: 63.89 kB / 486.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-05/0.4082, allocations: 20.84 kB / 486.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4082, allocations: 15.94 kB / 486.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000865/0.4091, allocations: 1.358 MB / 488.1 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4091, allocations: 4.094 kB / 488.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.4098, allocations: 438.6 kB / 488.5 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.4098, allocations: 89 kB / 488.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4098, allocations: 4 kB / 488.6 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4101, allocations: 12.06 kB / 488.6 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.4101, allocations: 27.91 kB / 488.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.4102, allocations: 27.98 kB / 488.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.4102, allocations: 83.28 kB / 488.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4102, allocations: 4 kB / 488.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000412/0.4107, allocations: 87.86 kB / 488.8 MB, free: 4.773 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.0003385/0.411, allocations: 147.2 kB / 489 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.4115, allocations: 215.9 kB / 489.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4115, allocations: 0 / 489.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4119, allocations: 226.5 kB / 489.4 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.4123, allocations: 47.02 kB / 489.5 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.4132, allocations: 483.8 kB / 489.9 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.4134, allocations: 0.7085 MB / 490.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004333/0.4139, allocations: 77.39 kB / 490.7 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.4141, allocations: 51.41 kB / 490.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4141, allocations: 0 / 490.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of Templates: time 0.009819/0.4239, allocations: 5.603 MB / 496.4 MB, free: 13.17 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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