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.00154/0.00154, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009523/0.0009521, allocations: 96.52 kB / 281.6 MB, free: 5.312 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.2352/0.2352, allocations: 44.16 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.638e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.61/1.768, allocations: 461.8 MB / 0.9456 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/1.769, allocations: 75.95 kB / 0.9457 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0583/1.827, allocations: 29.92 MB / 0.9749 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/1.827, allocations: 0 / 0.9749 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.341e-05/1.827, allocations: 4 kB / 0.9749 GB, free: 126.4 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.0003826/1.828, allocations: 390.5 kB / 0.9753 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.828, allocations: 20.2 kB / 0.9753 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.829, allocations: 184.1 kB / 0.9755 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/1.829, allocations: 203 kB / 0.9757 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.829, allocations: 4 kB / 0.9757 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/1.829, allocations: 4 kB / 0.9757 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002961/1.83, allocations: 147.9 kB / 0.9758 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/1.83, allocations: 134.7 kB / 0.976 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.83, allocations: 4 kB / 0.976 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/1.83, allocations: 0 / 0.976 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/1.83, allocations: 4 kB / 0.976 GB, free: 125.2 MB / 0.5105 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.0008843/1.831, allocations: 0.5412 MB / 0.9765 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/1.831, allocations: 122.6 kB / 0.9766 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/1.831, allocations: 64.83 kB / 0.9767 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/1.831, allocations: 7.984 kB / 0.9767 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/1.831, allocations: 30.56 kB / 0.9767 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/1.831, allocations: 0 / 0.9767 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.003493/1.835, allocations: 0.8857 MB / 0.9776 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/1.835, allocations: 55.41 kB / 0.9776 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/1.835, allocations: 108.9 kB / 0.9777 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/1.835, allocations: 25.7 kB / 0.9778 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/1.835, allocations: 88.05 kB / 0.9778 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/1.835, allocations: 67 kB / 0.9779 GB, free: 123 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/1.835, allocations: 0 / 0.9779 GB, free: 123 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/1.835, allocations: 326.8 kB / 0.9782 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/1.835, allocations: 56 kB / 0.9783 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/1.835, allocations: 99.45 kB / 0.9784 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/1.835, allocations: 72.84 kB / 0.9784 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.835, allocations: 0 / 0.9784 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003048/1.836, allocations: 235.1 kB / 0.9787 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.836, allocations: 5.5 kB / 0.9787 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.836, allocations: 4 kB / 0.9787 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/1.836, allocations: 40.83 kB / 0.9787 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/1.836, allocations: 51.91 kB / 0.9788 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/1.837, allocations: 0.5756 MB / 0.9793 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/1.837, allocations: 16.06 kB / 0.9793 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/1.837, allocations: 24.3 kB / 0.9794 GB, free: 121.5 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 () * 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.418e-05/1.837, allocations: 108.9 kB / 0.9795 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/1.837, allocations: 7.906 kB / 0.9795 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/1.838, allocations: 319 kB / 0.9798 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.838, allocations: 3.938 kB / 0.9798 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.838, allocations: 0 / 0.9798 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.838, allocations: 4 kB / 0.9798 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/1.838, allocations: 0.5666 MB / 0.9803 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.838, allocations: 3.984 kB / 0.9803 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/1.838, allocations: 63.89 kB / 0.9804 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-05/1.839, allocations: 20.84 kB / 0.9804 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/1.839, allocations: 11.98 kB / 0.9804 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005784/1.839, allocations: 1.213 MB / 0.9816 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.839, allocations: 3.938 kB / 0.9816 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/1.84, allocations: 432.5 kB / 0.982 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/1.84, allocations: 92.91 kB / 0.9821 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/1.84, allocations: 8.062 kB / 0.9821 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.84, allocations: 7.984 kB / 0.9821 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/1.84, allocations: 23.92 kB / 0.9822 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/1.84, allocations: 27.98 kB / 0.9822 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.425e-05/1.84, allocations: 87.27 kB / 0.9823 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.84, allocations: 0 / 0.9823 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004731/1.841, allocations: 103.9 kB / 0.9824 GB, free: 118.2 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 () * 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.0008091/1.841, allocations: 0.6071 MB / 0.983 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003455/1.842, allocations: 183.8 kB / 0.9831 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.842, allocations: 0 / 0.9831 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/1.842, allocations: 201.8 kB / 0.9833 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/1.842, allocations: 44.27 kB / 0.9834 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/1.843, allocations: 317.7 kB / 0.9837 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/1.843, allocations: 0.7046 MB / 0.9844 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004235/1.844, allocations: 85.38 kB / 0.9844 GB, free: 116 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/1.844, allocations: 55.39 kB / 0.9845 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.844, allocations: 0 / 0.9845 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.01086/1.855, allocations: 7.343 MB / 0.9917 GB, free: 108.6 MB / 0.5105 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