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.001081/0.001081, allocations: 180.5 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.301/1.301, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008705/0.0008704, allocations: 98.47 kB / 287 MB, free: 256 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.1877/0.1877, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.868e-05, allocations: 4.219 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8513/0.9649, allocations: 378.7 MB / 0.8715 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.9652, allocations: 76.7 kB / 0.8716 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04489/1.01, allocations: 21.74 MB / 0.8928 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.784e-06/1.01, allocations: 0 / 0.8928 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.01, allocations: 0 / 0.8928 GB, free: 10.62 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.0007833/1.011, allocations: 0.5611 MB / 0.8934 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.011, allocations: 12.03 kB / 0.8934 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/1.011, allocations: 19.81 kB / 0.8934 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/1.011, allocations: 234.6 kB / 0.8936 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.012, allocations: 127.4 kB / 0.8938 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/1.012, allocations: 20 kB / 0.8938 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/1.012, allocations: 306.9 kB / 0.8941 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.012, allocations: 7.922 kB / 0.8941 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/1.012, allocations: 12 kB / 0.8941 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/1.012, allocations: 8 kB / 0.8941 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/1.013, allocations: 0.7274 MB / 0.8948 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/1.014, allocations: 1.147 MB / 0.8959 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/1.014, allocations: 175.7 kB / 0.8961 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.014, allocations: 81.5 kB / 0.8962 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/1.016, allocations: 2.854 MB / 0.899 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/1.016, allocations: 42.56 kB / 0.899 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/1.016, allocations: 0 / 0.899 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0005184/1.016, allocations: 198.6 kB / 0.8992 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/1.016, allocations: 59.33 kB / 0.8992 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.016, allocations: 185.7 kB / 0.8994 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.016, allocations: 33.7 kB / 0.8995 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/1.017, allocations: 203 kB / 0.8996 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/1.017, allocations: 59.19 kB / 0.8997 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/1.017, allocations: 16 kB / 0.8997 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/1.017, allocations: 330.8 kB / 0.9 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/1.017, allocations: 44.86 kB / 0.9001 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/1.017, allocations: 317.2 kB / 0.9004 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/1.017, allocations: 99.81 kB / 0.9005 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.017, allocations: 4 kB / 0.9005 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004249/1.017, allocations: 369.4 kB / 0.9008 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.017, allocations: 12.25 kB / 0.9008 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.017, allocations: 12 kB / 0.9009 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.017, allocations: 12 kB / 0.9009 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.018, allocations: 111.8 kB / 0.901 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.018, allocations: 23.92 kB / 0.901 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/1.018, allocations: 12 kB / 0.901 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.018, allocations: 28 kB / 0.901 GB, free: 1.309 MB / 0.5105 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 () * 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 6.971e-05/1.018, allocations: 136.8 kB / 0.9012 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/1.018, allocations: 23.81 kB / 0.9012 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/1.018, allocations: 191 kB / 0.9014 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.018, allocations: 0 / 0.9014 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.018, allocations: 0 / 0.9014 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.019, allocations: 4.031 kB / 0.9014 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/1.019, allocations: 460.7 kB / 0.9018 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.019, allocations: 0 / 0.9018 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/1.019, allocations: 27.98 kB / 0.9018 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.019, allocations: 4.094 kB / 0.9018 GB, free: 408 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.019, allocations: 8 kB / 0.9019 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.019, allocations: 0 / 0.9019 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.019, allocations: 3.953 kB / 0.9019 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/1.019, allocations: 259 kB / 0.9021 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.019, allocations: 116.8 kB / 0.9022 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/1.019, allocations: 0 / 0.9022 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/1.02, allocations: 19.92 kB / 0.9022 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/1.02, allocations: 4 kB / 0.9022 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.02, allocations: 7.984 kB / 0.9022 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001113/1.02, allocations: 149.4 kB / 0.9024 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.02, allocations: 0 / 0.9024 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000461/1.02, allocations: 95.94 kB / 0.9025 GB, free: 15.69 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 () * 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.0003046/1.021, allocations: 185.6 kB / 0.9027 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002745/1.021, allocations: 170 kB / 0.9028 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.021, allocations: 4.062 kB / 0.9028 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/1.021, allocations: 39.92 kB / 0.9029 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/1.021, allocations: 43.64 kB / 0.9029 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.034, allocations: 5.857 MB / 0.9086 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.035, allocations: 0.7326 MB / 0.9093 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002896/1.035, allocations: 58.81 kB / 0.9094 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/1.035, allocations: 27.42 kB / 0.9094 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/1.035, allocations: 4 kB / 0.9094 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of Templates: time 0.00661/1.042, allocations: 3.469 MB / 0.9128 GB, free: 5.023 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