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.001002/0.001002, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.432/1.432, allocations: 223.2 MB / 241 MB, free: 11.85 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.0009911/0.0009914, allocations: 89.52 kB / 292.1 MB, free: 10.92 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.4083/0.4083, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4849, allocations: 61.91 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.73, allocations: 462.5 MB / 0.9612 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/1.731, allocations: 67.97 kB / 0.9613 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06023/1.791, allocations: 30.54 MB / 0.9911 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.875e-06/1.791, allocations: 0 / 0.9911 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.791, allocations: 0 / 0.9911 GB, free: 108.9 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.0004603/1.792, allocations: 411.1 kB / 0.9915 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.792, allocations: 12.03 kB / 0.9915 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.793, allocations: 175.7 kB / 0.9917 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/1.794, allocations: 203 kB / 0.9919 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/1.794, allocations: 8 kB / 0.9919 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/1.794, allocations: 8 kB / 0.9919 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/1.794, allocations: 229.4 kB / 0.9921 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.794, allocations: 7.938 kB / 0.9921 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/1.794, allocations: 0 / 0.9921 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.794, allocations: 0 / 0.9921 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/1.795, allocations: 167.9 kB / 0.9923 GB, free: 107.6 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.000939/1.796, allocations: 0.5724 MB / 0.9929 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/1.796, allocations: 134.5 kB / 0.993 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/1.796, allocations: 0 / 0.993 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/1.796, allocations: 42.55 kB / 0.993 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/1.796, allocations: 0 / 0.993 GB, free: 106.8 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.005033/1.801, allocations: 1.315 MB / 0.9943 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/1.801, allocations: 63.3 kB / 0.9944 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/1.801, allocations: 97 kB / 0.9945 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.801, allocations: 29.7 kB / 0.9945 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/1.801, allocations: 95.94 kB / 0.9946 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/1.801, allocations: 82.86 kB / 0.9947 GB, free: 105 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/1.801, allocations: 0 / 0.9947 GB, free: 105 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/1.801, allocations: 322.8 kB / 0.995 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/1.802, allocations: 71.95 kB / 0.995 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.802, allocations: 103.4 kB / 0.9951 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/1.802, allocations: 72.92 kB / 0.9952 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.802, allocations: 0 / 0.9952 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000415/1.802, allocations: 266.5 kB / 0.9955 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.802, allocations: 8 kB / 0.9955 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.802, allocations: 3.984 kB / 0.9955 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/1.803, allocations: 48.83 kB / 0.9955 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/1.803, allocations: 51.97 kB / 0.9956 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003188/1.803, allocations: 0.5719 MB / 0.9961 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.803, allocations: 4 kB / 0.9961 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/1.803, allocations: 27.98 kB / 0.9962 GB, free: 103.4 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.0001178/1.804, allocations: 122.3 kB / 0.9963 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/1.804, allocations: 15.91 kB / 0.9963 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/1.804, allocations: 347.4 kB / 0.9966 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.804, allocations: 0 / 0.9966 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.804, allocations: 4 kB / 0.9966 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.804, allocations: 0 / 0.9966 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/1.805, allocations: 0.6097 MB / 0.9972 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.805, allocations: 4 kB / 0.9972 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/1.806, allocations: 63.89 kB / 0.9973 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/1.806, allocations: 16.84 kB / 0.9973 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/1.806, allocations: 20.08 kB / 0.9973 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006422/1.806, allocations: 1.272 MB / 0.9986 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.806, allocations: 4.062 kB / 0.9986 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/1.807, allocations: 468.9 kB / 0.999 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/1.807, allocations: 85.05 kB / 0.9991 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/1.807, allocations: 8 kB / 0.9991 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/1.807, allocations: 19.83 kB / 0.9991 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/1.807, allocations: 23.91 kB / 0.9991 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.807, allocations: 28 kB / 0.9992 GB, free: 100 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.291e-05/1.807, allocations: 87.27 kB / 0.9992 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.807, allocations: 0 / 0.9992 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005362/1.808, allocations: 119.9 kB / 0.9994 GB, free: 99.83 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.0007662/1.809, allocations: 0.5396 MB / 0.9999 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004485/1.809, allocations: 199.8 kB / 1 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.809, allocations: 0 / 1 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/1.809, allocations: 220.8 kB / 1 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/1.81, allocations: 52.27 kB / 1 GB, free: 98.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/1.811, allocations: 0.5735 MB / 1.001 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/1.811, allocations: 0.7088 MB / 1.002 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003957/1.811, allocations: 77.61 kB / 1.002 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.811, allocations: 55.41 kB / 1.002 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/1.811, allocations: 0 / 1.002 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.01474/1.826, allocations: 11.03 MB / 1.012 GB, free: 86.32 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