Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 183.8 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 242.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 94.59 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4241/0.4241, allocations: 44.14 MB / 388.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 8 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4311, allocations: 61.87 MB / 0.5107 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.437, allocations: 462.6 MB / 0.9625 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.437, allocations: 75.94 kB / 0.9625 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05775/1.495, allocations: 30.53 MB / 0.9923 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.813e-06/1.495, allocations: 0 / 0.9923 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.495, allocations: 3.938 kB / 0.9924 GB, free: 108.8 MB / 0.5261 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.0006393/1.496, allocations: 403.4 kB / 0.9927 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.496, allocations: 8.031 kB / 0.9927 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.498, allocations: 184.6 kB / 0.9929 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/1.498, allocations: 200.3 kB / 0.9931 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/1.498, allocations: 8.328 kB / 0.9931 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/1.498, allocations: 12.38 kB / 0.9931 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/1.499, allocations: 222.5 kB / 0.9933 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/1.499, allocations: 4.188 kB / 0.9933 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/1.499, allocations: 7.938 kB / 0.9934 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.499, allocations: 3.938 kB / 0.9934 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/1.499, allocations: 177.3 kB / 0.9935 GB, free: 107.5 MB / 0.5261 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.001052/1.5, allocations: 0.5689 MB / 0.9941 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/1.501, allocations: 142.5 kB / 0.9942 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.501, allocations: 68.83 kB / 0.9943 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/1.501, allocations: 3.938 kB / 0.9943 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.501, allocations: 42.56 kB / 0.9943 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.083e-06/1.501, allocations: 0 / 0.9943 GB, free: 106.6 MB / 0.5261 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.004922/1.506, allocations: 1.301 MB / 0.9956 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.506, allocations: 55.41 kB / 0.9957 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.506, allocations: 113.7 kB / 0.9958 GB, free: 105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/1.506, allocations: 37.7 kB / 0.9958 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/1.506, allocations: 95.97 kB / 0.9959 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/1.506, allocations: 66.95 kB / 0.996 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/1.506, allocations: 4 kB / 0.996 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/1.506, allocations: 326.8 kB / 0.9963 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/1.506, allocations: 67.95 kB / 0.9963 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/1.507, allocations: 107.2 kB / 0.9964 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/1.507, allocations: 182 kB / 0.9966 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/1.507, allocations: 0 / 0.9966 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004459/1.507, allocations: 255.9 kB / 0.9969 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.507, allocations: 11.94 kB / 0.9969 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.507, allocations: 96 / 0.9969 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/1.508, allocations: 56.83 kB / 0.9969 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/1.508, allocations: 47.97 kB / 0.997 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003569/1.508, allocations: 0.5601 MB / 0.9975 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.509, allocations: 8.031 kB / 0.9975 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/1.509, allocations: 36.08 kB / 0.9976 GB, free: 103.1 MB / 0.5261 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 0.0001911/1.509, allocations: 125.7 kB / 0.9977 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/1.509, allocations: 11.81 kB / 0.9977 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/1.51, allocations: 339.1 kB / 0.998 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/1.51, allocations: 0 / 0.998 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.51, allocations: 0 / 0.998 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.51, allocations: 4 kB / 0.998 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/1.511, allocations: 0.6165 MB / 0.9986 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.511, allocations: 4 kB / 0.9986 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/1.511, allocations: 71.83 kB / 0.9987 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.639e-05/1.511, allocations: 20.84 kB / 0.9987 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/1.511, allocations: 11.98 kB / 0.9987 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006286/1.512, allocations: 1.264 MB / 1 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.512, allocations: 0 / 1 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/1.512, allocations: 436.1 kB / 1 GB, free: 99.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/1.512, allocations: 85.05 kB / 1 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/1.512, allocations: 8 kB / 1 GB, free: 99.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.512, allocations: 19.83 kB / 1 GB, free: 99.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/1.513, allocations: 27.97 kB / 1.001 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.513, allocations: 31.98 kB / 1.001 GB, free: 99.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.934e-05/1.513, allocations: 87.27 kB / 1.001 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.513, allocations: 0 / 1.001 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005719/1.513, allocations: 111.9 kB / 1.001 GB, free: 99.55 MB / 0.5261 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.0007785/1.514, allocations: 0.5457 MB / 1.001 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004439/1.514, allocations: 199 kB / 1.001 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.514, allocations: 192 / 1.001 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/1.515, allocations: 234.5 kB / 1.002 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/1.515, allocations: 47.89 kB / 1.002 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/1.516, allocations: 0.5634 MB / 1.002 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/1.516, allocations: 0.7049 MB / 1.003 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000433/1.517, allocations: 81.39 kB / 1.003 GB, free: 97.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/1.517, allocations: 51.41 kB / 1.003 GB, free: 97.06 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/1.517, allocations: 0 / 1.003 GB, free: 97.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.01394/1.531, allocations: 11.65 MB / 1.014 GB, free: 85.41 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches