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.001076/0.001076, allocations: 181 kB / 17.06 MB, free: 5.094 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.404/1.404, allocations: 223.2 MB / 241 MB, free: 10.12 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.001059/0.001059, allocations: 94.47 kB / 292.2 MB, free: 10.71 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.4127/0.4127, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4046, allocations: 61.9 MB / 0.5096 GB, free: 37.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.701/1.106, allocations: 378.8 MB / 0.8795 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.106, allocations: 74.95 kB / 0.8795 GB, free: 480 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3063/1.412, allocations: 21.78 MB / 0.9008 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/1.412, allocations: 0 / 0.9008 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.412, allocations: 3.156 kB / 0.9008 GB, free: 188.3 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001044/1.413, allocations: 0.5699 MB / 0.9014 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.413, allocations: 9.594 kB / 0.9014 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/1.414, allocations: 29 kB / 0.9014 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/1.414, allocations: 232 kB / 0.9016 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/1.414, allocations: 124.1 kB / 0.9017 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/1.414, allocations: 18.78 kB / 0.9018 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/1.415, allocations: 319.8 kB / 0.9021 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.415, allocations: 2.688 kB / 0.9021 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/1.415, allocations: 11.36 kB / 0.9021 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/1.415, allocations: 9.375 kB / 0.9021 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/1.416, allocations: 0.733 MB / 0.9028 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/1.417, allocations: 1.151 MB / 0.9039 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/1.417, allocations: 176.1 kB / 0.9041 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/1.419, allocations: 2.648 MB / 0.9067 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/1.419, allocations: 38.08 kB / 0.9067 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.419, allocations: 0 / 0.9067 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0006234/1.42, allocations: 235.2 kB / 0.9069 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/1.42, allocations: 55.02 kB / 0.907 GB, free: 183 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.42, allocations: 187.1 kB / 0.9072 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/1.42, allocations: 25.7 kB / 0.9072 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/1.42, allocations: 210.7 kB / 0.9074 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/1.42, allocations: 62.77 kB / 0.9075 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.42, allocations: 10.97 kB / 0.9075 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/1.42, allocations: 331.1 kB / 0.9078 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/1.42, allocations: 53.61 kB / 0.9078 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/1.42, allocations: 316.3 kB / 0.9081 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/1.421, allocations: 101.2 kB / 0.9082 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.421, allocations: 0 / 0.9082 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00051/1.421, allocations: 371.7 kB / 0.9086 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.421, allocations: 9.625 kB / 0.9086 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.421, allocations: 9.406 kB / 0.9086 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.421, allocations: 15.56 kB / 0.9086 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/1.422, allocations: 107.2 kB / 0.9087 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/1.422, allocations: 23 kB / 0.9087 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/1.422, allocations: 20.53 kB / 0.9088 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/1.422, allocations: 30.81 kB / 0.9088 GB, free: 181.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (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 0.0001046/1.422, allocations: 152.6 kB / 0.9089 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/1.422, allocations: 20.44 kB / 0.909 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/1.422, allocations: 180.3 kB / 0.9091 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.422, allocations: 3.156 kB / 0.9091 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.422, allocations: 0.75 kB / 0.9091 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.422, allocations: 0.75 kB / 0.9091 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/1.423, allocations: 458.6 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.423, allocations: 2.969 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/1.423, allocations: 34.34 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.423, allocations: 3.047 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.423, allocations: 4.641 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.423, allocations: 3.578 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.423, allocations: 4.031 kB / 0.9096 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/1.423, allocations: 261.9 kB / 0.9099 GB, free: 180.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/1.423, allocations: 123.9 kB / 0.91 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/1.423, allocations: 3.938 kB / 0.91 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/1.424, allocations: 8.609 kB / 0.91 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/1.424, allocations: 9.578 kB / 0.91 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/1.424, allocations: 8.094 kB / 0.91 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.375e-05/1.424, allocations: 149.5 kB / 0.9102 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/1.424, allocations: 3.938 kB / 0.9102 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004699/1.424, allocations: 94.81 kB / 0.9103 GB, free: 180.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * 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.0002595/1.424, allocations: 183.4 kB / 0.9104 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002855/1.425, allocations: 176 kB / 0.9106 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.425, allocations: 0 / 0.9106 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/1.425, allocations: 41.36 kB / 0.9106 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/1.425, allocations: 42.36 kB / 0.9107 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.44, allocations: 6.188 MB / 0.9167 GB, free: 178.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.44, allocations: 0.7308 MB / 0.9174 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000374/1.44, allocations: 68.19 kB / 0.9175 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/1.44, allocations: 23.78 kB / 0.9175 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/1.44, allocations: 1.5 kB / 0.9175 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.008466/1.449, allocations: 3.353 MB / 0.9208 GB, free: 175.9 MB / 0.5261 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