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.0009933/0.0009934, allocations: 179.7 kB / 14.15 MB, free: 1.176 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.405/1.405, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009935, allocations: 86.16 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.591e-05, allocations: 224 / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.451, allocations: 462.5 MB / 0.9533 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/1.451, allocations: 67.34 kB / 0.9534 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05463/1.506, allocations: 30.47 MB / 0.9831 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/1.506, allocations: 0 / 0.9831 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.506, allocations: 4 kB / 0.9831 GB, free: 157.6 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.0003305/1.506, allocations: 394.5 kB / 0.9835 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.506, allocations: 16.03 kB / 0.9835 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/1.508, allocations: 180.2 kB / 0.9837 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/1.508, allocations: 199 kB / 0.9839 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.508, allocations: 8 kB / 0.9839 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/1.508, allocations: 11.98 kB / 0.9839 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/1.508, allocations: 206 kB / 0.9841 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.508, allocations: 0 / 0.9841 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.508, allocations: 11.98 kB / 0.9841 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.508, allocations: 0 / 0.9841 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/1.509, allocations: 157.1 kB / 0.9843 GB, free: 156.3 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0008376/1.509, allocations: 0.5641 MB / 0.9848 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/1.51, allocations: 138.5 kB / 0.9849 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/1.51, allocations: 60.86 kB / 0.985 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/1.51, allocations: 8 kB / 0.985 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/1.51, allocations: 30.56 kB / 0.985 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/1.51, allocations: 0 / 0.985 GB, free: 155.4 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.004095/1.514, allocations: 1.095 MB / 0.9861 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/1.514, allocations: 59.36 kB / 0.9862 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/1.514, allocations: 104.9 kB / 0.9863 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/1.514, allocations: 25.7 kB / 0.9863 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/1.514, allocations: 95.94 kB / 0.9864 GB, free: 154 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/1.514, allocations: 63.11 kB / 0.9864 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/1.514, allocations: 4 kB / 0.9864 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.536e-05/1.514, allocations: 318.8 kB / 0.9867 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/1.514, allocations: 67.98 kB / 0.9868 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.514, allocations: 106.5 kB / 0.9869 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/1.515, allocations: 75.72 kB / 0.987 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.515, allocations: 0 / 0.987 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000327/1.515, allocations: 248.7 kB / 0.9872 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.515, allocations: 12.09 kB / 0.9872 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.515, allocations: 0 / 0.9872 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/1.515, allocations: 48.83 kB / 0.9873 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/1.515, allocations: 55.91 kB / 0.9873 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002856/1.516, allocations: 0.5678 MB / 0.9879 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.516, allocations: 16.03 kB / 0.9879 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/1.516, allocations: 27.98 kB / 0.9879 GB, free: 152.3 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 () * 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 7.082e-05/1.516, allocations: 113 kB / 0.988 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/1.516, allocations: 11.86 kB / 0.9881 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/1.517, allocations: 334.6 kB / 0.9884 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.517, allocations: 4 kB / 0.9884 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.517, allocations: 3.938 kB / 0.9884 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.517, allocations: 0 / 0.9884 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/1.517, allocations: 0.6093 MB / 0.989 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.517, allocations: 0 / 0.989 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/1.518, allocations: 67.89 kB / 0.989 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-05/1.518, allocations: 16.84 kB / 0.9891 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.518, allocations: 15.98 kB / 0.9891 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005785/1.518, allocations: 1.272 MB / 0.9903 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.518, allocations: 0 / 0.9903 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/1.519, allocations: 455.8 kB / 0.9907 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/1.519, allocations: 97.05 kB / 0.9908 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/1.519, allocations: 3.984 kB / 0.9908 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/1.519, allocations: 8 kB / 0.9909 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/1.519, allocations: 27.97 kB / 0.9909 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/1.519, allocations: 23.98 kB / 0.9909 GB, free: 149 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.152e-05/1.519, allocations: 91.58 kB / 0.991 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.519, allocations: 0 / 0.991 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004692/1.52, allocations: 115.9 kB / 0.9911 GB, free: 148.8 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 () * 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.0006478/1.52, allocations: 0.5344 MB / 0.9916 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000363/1.521, allocations: 188.3 kB / 0.9918 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.521, allocations: 4 kB / 0.9918 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/1.521, allocations: 210.6 kB / 0.992 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/1.521, allocations: 45.03 kB / 0.992 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/1.522, allocations: 329.2 kB / 0.9924 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/1.522, allocations: 0.7126 MB / 0.9931 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003825/1.522, allocations: 77.39 kB / 0.9931 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/1.523, allocations: 55.41 kB / 0.9932 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/1.523, allocations: 3.938 kB / 0.9932 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01326/1.536, allocations: 12.53 MB / 1.005 GB, free: 134.1 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/jenkins/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