Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009717/0.0009718, allocations: 101.3 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.374e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9554/1.062, allocations: 379.1 MB / 0.8746 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.062, allocations: 66.97 kB / 0.8747 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04513/1.108, allocations: 21.72 MB / 0.8959 GB, free: 58.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/1.108, allocations: 4 kB / 0.8959 GB, free: 58.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.108, allocations: 4 kB / 0.8959 GB, free: 58.52 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.001047/1.109, allocations: 0.5622 MB / 0.8964 GB, free: 57.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.109, allocations: 12.03 kB / 0.8964 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/1.109, allocations: 23.77 kB / 0.8964 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/1.109, allocations: 228.8 kB / 0.8967 GB, free: 57.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.109, allocations: 123.4 kB / 0.8968 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/1.109, allocations: 12 kB / 0.8968 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006809/1.11, allocations: 0.7125 MB / 0.8975 GB, free: 56.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/1.11, allocations: 278.3 kB / 0.8978 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.111, allocations: 3.938 kB / 0.8978 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/1.111, allocations: 4 kB / 0.8978 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/1.111, allocations: 8 kB / 0.8978 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/1.113, allocations: 3.199 MB / 0.9009 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/1.114, allocations: 57.12 kB / 0.901 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/1.114, allocations: 40.05 kB / 0.901 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/1.114, allocations: 0.4973 MB / 0.9015 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.114, allocations: 38.73 kB / 0.9015 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/1.114, allocations: 0 / 0.9015 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0006554/1.115, allocations: 156.3 kB / 0.9017 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/1.115, allocations: 54.41 kB / 0.9017 GB, free: 52.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.115, allocations: 199.7 kB / 0.9019 GB, free: 52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.115, allocations: 25.7 kB / 0.9019 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/1.115, allocations: 228.4 kB / 0.9021 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/1.115, allocations: 34.92 kB / 0.9022 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/1.115, allocations: 0 / 0.9022 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/1.115, allocations: 326 kB / 0.9025 GB, free: 51.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/1.115, allocations: 39.67 kB / 0.9025 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/1.115, allocations: 301 kB / 0.9028 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/1.116, allocations: 110.1 kB / 0.9029 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.116, allocations: 8 kB / 0.9029 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006006/1.116, allocations: 330.4 kB / 0.9032 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.116, allocations: 8 kB / 0.9032 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.116, allocations: 16.33 kB / 0.9033 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/1.117, allocations: 16.06 kB / 0.9033 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/1.117, allocations: 106.9 kB / 0.9034 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/1.117, allocations: 15.94 kB / 0.9034 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/1.117, allocations: 15.94 kB / 0.9034 GB, free: 50.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/1.117, allocations: 31.92 kB / 0.9034 GB, free: 50.37 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 () * 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 8.645e-05/1.117, allocations: 120.7 kB / 0.9036 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/1.117, allocations: 23.69 kB / 0.9036 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/1.118, allocations: 94 kB / 0.9037 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.118, allocations: 3.953 kB / 0.9037 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.118, allocations: 0 / 0.9037 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.118, allocations: 4 kB / 0.9037 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/1.118, allocations: 384.4 kB / 0.904 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.118, allocations: 4 kB / 0.904 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.118, allocations: 23.92 kB / 0.9041 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.118, allocations: 12.02 kB / 0.9041 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.118, allocations: 0 / 0.9041 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.118, allocations: 3.938 kB / 0.9041 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.118, allocations: 4 kB / 0.9041 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/1.118, allocations: 230.3 kB / 0.9043 GB, free: 49.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/1.119, allocations: 108.3 kB / 0.9044 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/1.119, allocations: 7.984 kB / 0.9044 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.119, allocations: 4 kB / 0.9044 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/1.119, allocations: 7.984 kB / 0.9044 GB, free: 49.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/1.119, allocations: 7.188 kB / 0.9044 GB, free: 49.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.754e-05/1.119, allocations: 134.9 kB / 0.9046 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.119, allocations: 0 / 0.9046 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004906/1.119, allocations: 95.8 kB / 0.9047 GB, free: 49.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002818/1.12, allocations: 190.4 kB / 0.9048 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002284/1.12, allocations: 151.9 kB / 0.905 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.12, allocations: 0 / 0.905 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/1.12, allocations: 23.44 kB / 0.905 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/1.12, allocations: 28.3 kB / 0.905 GB, free: 48.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/1.121, allocations: 189.4 kB / 0.9052 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/1.121, allocations: 0.7248 MB / 0.9059 GB, free: 47.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002558/1.121, allocations: 58 kB / 0.906 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/1.121, allocations: 27.38 kB / 0.906 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.121, allocations: 0 / 0.906 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.005367/1.126, allocations: 2.754 MB / 0.9087 GB, free: 44.98 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches