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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 184.1 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 224.2 MB, free: 9.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007438, allocations: 87.91 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 12 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9559/1.183, allocations: 451.5 MB / 0.8091 GB, free: 165.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/1.183, allocations: 76.47 kB / 0.8092 GB, free: 165.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06043/1.244, allocations: 29.89 MB / 0.8384 GB, free: 144.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.128e-06/1.244, allocations: 4 kB / 0.8384 GB, free: 144.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/1.244, allocations: 0 / 0.8384 GB, free: 144.1 MB / 426.7 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.0004201/1.244, allocations: 399.8 kB / 0.8388 GB, free: 143.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.244, allocations: 8.031 kB / 0.8388 GB, free: 143.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.246, allocations: 184.6 kB / 0.839 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/1.246, allocations: 208.2 kB / 0.8392 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.246, allocations: 12.38 kB / 0.8392 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/1.246, allocations: 4.375 kB / 0.8392 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/1.247, allocations: 226.6 kB / 0.8394 GB, free: 142.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.247, allocations: 8.062 kB / 0.8394 GB, free: 142.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/1.247, allocations: 11.92 kB / 0.8394 GB, free: 142.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.247, allocations: 0 / 0.8394 GB, free: 142.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/1.247, allocations: 163.9 kB / 0.8396 GB, free: 142.8 MB / 426.7 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.0008842/1.248, allocations: 0.5766 MB / 0.8401 GB, free: 142.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/1.248, allocations: 134.5 kB / 0.8403 GB, free: 142 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/1.248, allocations: 68.81 kB / 0.8403 GB, free: 141.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/1.248, allocations: 12 kB / 0.8403 GB, free: 141.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/1.248, allocations: 34.55 kB / 0.8404 GB, free: 141.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/1.248, allocations: 0 / 0.8404 GB, free: 141.9 MB / 426.7 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.004532/1.253, allocations: 1.308 MB / 0.8417 GB, free: 140.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/1.253, allocations: 55.34 kB / 0.8417 GB, free: 140.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/1.253, allocations: 117.8 kB / 0.8418 GB, free: 140.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/1.253, allocations: 29.64 kB / 0.8418 GB, free: 140.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/1.253, allocations: 95.95 kB / 0.8419 GB, free: 140.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/1.253, allocations: 74.95 kB / 0.842 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/1.253, allocations: 4 kB / 0.842 GB, free: 140.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/1.253, allocations: 322.8 kB / 0.8423 GB, free: 139.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/1.253, allocations: 67.97 kB / 0.8424 GB, free: 139.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.254, allocations: 103.4 kB / 0.8425 GB, free: 139.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/1.254, allocations: 186.9 kB / 0.8427 GB, free: 139.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/1.254, allocations: 0 / 0.8427 GB, free: 139.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004135/1.254, allocations: 254.2 kB / 0.8429 GB, free: 139.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.254, allocations: 8.031 kB / 0.8429 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.254, allocations: 8 kB / 0.8429 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/1.255, allocations: 56.75 kB / 0.843 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/1.255, allocations: 47.97 kB / 0.843 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002711/1.255, allocations: 0.564 MB / 0.8436 GB, free: 138.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/1.255, allocations: 12.12 kB / 0.8436 GB, free: 138.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/1.255, allocations: 23.98 kB / 0.8436 GB, free: 138.4 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/1.255, allocations: 125.8 kB / 0.8437 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/1.256, allocations: 7.906 kB / 0.8437 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/1.256, allocations: 343.3 kB / 0.8441 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.256, allocations: 4 kB / 0.8441 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.256, allocations: 0 / 0.8441 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.256, allocations: 3.984 kB / 0.8441 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008022/1.257, allocations: 0.621 MB / 0.8447 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.257, allocations: 0 / 0.8447 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/1.257, allocations: 63.83 kB / 0.8447 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.116e-05/1.257, allocations: 24.84 kB / 0.8448 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.258, allocations: 15.98 kB / 0.8448 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005759/1.258, allocations: 1.264 MB / 0.846 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.258, allocations: 0 / 0.846 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/1.259, allocations: 442.8 kB / 0.8464 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/1.259, allocations: 85.05 kB / 0.8465 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/1.259, allocations: 7.938 kB / 0.8465 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.259, allocations: 8 kB / 0.8465 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/1.259, allocations: 31.97 kB / 0.8466 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/1.259, allocations: 23.98 kB / 0.8466 GB, free: 135 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.353e-05/1.259, allocations: 91.27 kB / 0.8467 GB, free: 135 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.259, allocations: 0 / 0.8467 GB, free: 135 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005655/1.26, allocations: 111.9 kB / 0.8468 GB, free: 134.8 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007428/1.26, allocations: 0.5436 MB / 0.8473 GB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/1.261, allocations: 204 kB / 0.8475 GB, free: 134.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.261, allocations: 0 / 0.8475 GB, free: 134.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/1.261, allocations: 228.2 kB / 0.8477 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/1.262, allocations: 52.02 kB / 0.8478 GB, free: 133.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/1.262, allocations: 0.5705 MB / 0.8483 GB, free: 133.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/1.262, allocations: 0.7126 MB / 0.849 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004641/1.263, allocations: 77.38 kB / 0.8491 GB, free: 132.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/1.263, allocations: 47.41 kB / 0.8491 GB, free: 132.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/1.263, allocations: 0 / 0.8491 GB, free: 132.3 MB / 426.7 MB Notification: Performance of Templates: time 0.01409/1.277, allocations: 11.64 MB / 0.8605 GB, free: 120.7 MB / 426.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches