Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.745/1.745, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0009218/0.0009218, allocations: 98 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4373/0.4373, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 12 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 58.86 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.489, allocations: 461.4 MB / 0.9305 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.489, allocations: 66.66 kB / 0.9306 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05834/1.548, allocations: 29.92 MB / 0.9598 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.965e-06/1.548, allocations: 0 / 0.9598 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.548, allocations: 0 / 0.9598 GB, free: 135.1 MB / 0.5105 GB 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.0004896/1.548, allocations: 394.6 kB / 0.9602 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.548, allocations: 12.02 kB / 0.9602 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/1.55, allocations: 183.3 kB / 0.9604 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/1.55, allocations: 200.3 kB / 0.9605 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.55, allocations: 8.594 kB / 0.9606 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/1.55, allocations: 12.38 kB / 0.9606 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/1.551, allocations: 221.6 kB / 0.9608 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.551, allocations: 192 / 0.9608 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/1.551, allocations: 11.94 kB / 0.9608 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.551, allocations: 0 / 0.9608 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/1.551, allocations: 175.7 kB / 0.961 GB, free: 133.8 MB / 0.5105 GB 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.0008392/1.552, allocations: 0.5758 MB / 0.9615 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/1.552, allocations: 138.5 kB / 0.9616 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/1.553, allocations: 69.06 kB / 0.9617 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/1.553, allocations: 8 kB / 0.9617 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/1.553, allocations: 35.09 kB / 0.9618 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/1.553, allocations: 0 / 0.9618 GB, free: 132.9 MB / 0.5105 GB 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.004522/1.557, allocations: 1.311 MB / 0.963 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/1.557, allocations: 55.41 kB / 0.9631 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/1.557, allocations: 105.8 kB / 0.9632 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/1.557, allocations: 37.7 kB / 0.9632 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/1.557, allocations: 95.97 kB / 0.9633 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/1.557, allocations: 70.94 kB / 0.9634 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/1.557, allocations: 4 kB / 0.9634 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/1.557, allocations: 318.8 kB / 0.9637 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.558, allocations: 68.97 kB / 0.9638 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.558, allocations: 107.4 kB / 0.9639 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/1.558, allocations: 182.7 kB / 0.964 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/1.558, allocations: 0 / 0.964 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004032/1.558, allocations: 254.2 kB / 0.9643 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.559, allocations: 11.94 kB / 0.9643 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.559, allocations: 0 / 0.9643 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/1.559, allocations: 56.92 kB / 0.9643 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/1.559, allocations: 55.89 kB / 0.9644 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/1.559, allocations: 0.5604 MB / 0.9649 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.559, allocations: 15.92 kB / 0.965 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/1.56, allocations: 28.09 kB / 0.965 GB, free: 129.4 MB / 0.5105 GB 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.393e-05/1.56, allocations: 125.8 kB / 0.9651 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/1.56, allocations: 7.906 kB / 0.9651 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/1.56, allocations: 355 kB / 0.9655 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.56, allocations: 0 / 0.9655 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/1.56, allocations: 0 / 0.9655 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.56, allocations: 0 / 0.9655 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007713/1.561, allocations: 0.6278 MB / 0.9661 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.561, allocations: 0 / 0.9661 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/1.562, allocations: 71.83 kB / 0.9661 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.07e-05/1.562, allocations: 20.83 kB / 0.9662 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.562, allocations: 12 kB / 0.9662 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006142/1.562, allocations: 1.276 MB / 0.9674 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.562, allocations: 0 / 0.9674 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/1.563, allocations: 426.8 kB / 0.9678 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/1.563, allocations: 88.95 kB / 0.9679 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/1.563, allocations: 15.92 kB / 0.9679 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/1.563, allocations: 8 kB / 0.9679 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/1.563, allocations: 31.91 kB / 0.968 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/1.563, allocations: 31.98 kB / 0.968 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.191e-05/1.563, allocations: 83.28 kB / 0.9681 GB, free: 126 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.563, allocations: 0 / 0.9681 GB, free: 126 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004929/1.564, allocations: 115.9 kB / 0.9682 GB, free: 125.9 MB / 0.5105 GB 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.0007203/1.564, allocations: 0.5404 MB / 0.9687 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000446/1.565, allocations: 203.7 kB / 0.9689 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.565, allocations: 192 / 0.9689 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/1.565, allocations: 226.5 kB / 0.9691 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/1.566, allocations: 50.42 kB / 0.9692 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/1.566, allocations: 0.5704 MB / 0.9697 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/1.567, allocations: 0.701 MB / 0.9704 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004155/1.567, allocations: 77.38 kB / 0.9705 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.567, allocations: 59.41 kB / 0.9705 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/1.567, allocations: 0 / 0.9705 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.01447/1.582, allocations: 11.62 MB / 0.9819 GB, free: 111.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches