Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 174.4 kB / 8.74 MB, free: 348 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.426/1.426, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.0009305/0.0009306, allocations: 81.73 kB / 281.6 MB, free: 5.27 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.2169/0.2169, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.726e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.148, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.201, allocations: 378.1 MB / 0.8639 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.201, allocations: 71.59 kB / 0.8639 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04978/1.251, allocations: 21.59 MB / 0.885 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/1.251, allocations: 0 / 0.885 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.612e-05/1.251, allocations: 4 kB / 0.885 GB, free: 6.398 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009579/1.252, allocations: 0.5611 MB / 0.8856 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.252, allocations: 11.98 kB / 0.8856 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/1.252, allocations: 23.81 kB / 0.8856 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/1.253, allocations: 230.7 kB / 0.8858 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.253, allocations: 115.4 kB / 0.8859 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/1.253, allocations: 19.94 kB / 0.8859 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007616/1.254, allocations: 0.719 MB / 0.8866 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/1.254, allocations: 281.8 kB / 0.8869 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.254, allocations: 3.938 kB / 0.8869 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.254, allocations: 0 / 0.8869 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/1.254, allocations: 8 kB / 0.8869 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/1.257, allocations: 3.194 MB / 0.89 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/1.257, allocations: 50.56 kB / 0.8901 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/1.257, allocations: 29.02 kB / 0.8901 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2968/1.554, allocations: 0.5216 MB / 0.8906 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.554, allocations: 37.81 kB / 0.8907 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 3.206e-06/1.554, allocations: 4 kB / 0.8907 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0006995/1.555, allocations: 147.2 kB / 0.8908 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/1.555, allocations: 55.28 kB / 0.8909 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/1.555, allocations: 199.2 kB / 0.8911 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/1.555, allocations: 28.59 kB / 0.8911 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.555, allocations: 228.4 kB / 0.8913 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/1.555, allocations: 36.41 kB / 0.8913 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/1.555, allocations: 0 / 0.8913 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/1.555, allocations: 327.9 kB / 0.8916 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/1.555, allocations: 37.38 kB / 0.8917 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.556, allocations: 317.2 kB / 0.892 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/1.556, allocations: 105.2 kB / 0.8921 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.556, allocations: 2.875 kB / 0.8921 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006153/1.557, allocations: 322.6 kB / 0.8924 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.557, allocations: 9 kB / 0.8924 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.557, allocations: 14.75 kB / 0.8924 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/1.557, allocations: 14.81 kB / 0.8924 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/1.557, allocations: 108.8 kB / 0.8925 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/1.557, allocations: 18.67 kB / 0.8926 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/1.557, allocations: 16.83 kB / 0.8926 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/1.557, allocations: 32.31 kB / 0.8926 GB, free: 178.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/1.557, allocations: 130.7 kB / 0.8927 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/1.558, allocations: 22.56 kB / 0.8927 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/1.558, allocations: 93.19 kB / 0.8928 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.558, allocations: 2.031 kB / 0.8928 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.558, allocations: 0.75 kB / 0.8928 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.558, allocations: 0 / 0.8928 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/1.558, allocations: 376.8 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.558, allocations: 3.375 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/1.558, allocations: 21.22 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.558, allocations: 4.531 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/1.558, allocations: 3.094 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.558, allocations: 1.734 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.558, allocations: 1.156 kB / 0.8932 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/1.559, allocations: 205.4 kB / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/1.559, allocations: 110.2 kB / 0.8935 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/1.559, allocations: 1.734 kB / 0.8935 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/1.559, allocations: 6.984 kB / 0.8935 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/1.559, allocations: 9.609 kB / 0.8935 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/1.559, allocations: 8.078 kB / 0.8936 GB, free: 178 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.802e-05/1.559, allocations: 137.8 kB / 0.8937 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.559, allocations: 3 kB / 0.8937 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004876/1.56, allocations: 85.38 kB / 0.8938 GB, free: 177.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002953/1.56, allocations: 176.7 kB / 0.8939 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002825/1.56, allocations: 143.8 kB / 0.8941 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.56, allocations: 1.281 kB / 0.8941 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/1.56, allocations: 29.48 kB / 0.8941 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/1.561, allocations: 28.22 kB / 0.8941 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/1.561, allocations: 184.2 kB / 0.8943 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/1.561, allocations: 0.7284 MB / 0.895 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002755/1.562, allocations: 58.73 kB / 0.8951 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/1.562, allocations: 24.5 kB / 0.8951 GB, free: 177 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.562, allocations: 0 / 0.8951 GB, free: 177 MB / 0.5105 GB Notification: Performance of Templates: time 0.007176/1.569, allocations: 2.694 MB / 0.8977 GB, free: 176.8 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches