Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 86.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3506/0.3506, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.785e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.795/2.186, allocations: 0.6093 GB / 1.075 GB, free: 126.1 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/2.187, allocations: 72.97 kB / 1.075 GB, free: 126.1 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.146/2.333, allocations: 44.75 MB / 1.119 GB, free: 90.18 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.343e-06/2.333, allocations: 0 / 1.119 GB, free: 90.18 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 8.265e-06/2.333, allocations: 0 / 1.119 GB, free: 90.18 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006362/2.333, allocations: 426.9 kB / 1.119 GB, free: 89.72 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/2.333, allocations: 15.97 kB / 1.119 GB, free: 89.71 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/2.333, allocations: 7.953 kB / 1.119 GB, free: 89.7 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/2.334, allocations: 163 kB / 1.12 GB, free: 89.5 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/2.334, allocations: 4 kB / 1.12 GB, free: 89.5 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/2.334, allocations: 7.984 kB / 1.12 GB, free: 89.49 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/2.334, allocations: 40.48 kB / 1.12 GB, free: 89.46 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/2.334, allocations: 60.3 kB / 1.12 GB, free: 89.4 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/2.334, allocations: 3.906 kB / 1.12 GB, free: 89.4 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/2.334, allocations: 0 / 1.12 GB, free: 89.4 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/2.334, allocations: 3.938 kB / 1.12 GB, free: 89.39 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/2.334, allocations: 358.4 kB / 1.12 GB, free: 89.01 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/2.334, allocations: 52.62 kB / 1.12 GB, free: 88.96 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/2.335, allocations: 21.28 kB / 1.12 GB, free: 88.94 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/2.336, allocations: 1.003 MB / 1.121 GB, free: 87.75 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/2.336, allocations: 38.69 kB / 1.121 GB, free: 87.71 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/2.336, allocations: 0 / 1.121 GB, free: 87.71 MB / 0.4952 GB Notification: Performance of matching and sorting (n=14): time 0.0124/2.348, allocations: 0.8714 MB / 1.122 GB, free: 86.94 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/2.349, allocations: 55.41 kB / 1.122 GB, free: 86.87 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/2.349, allocations: 91.38 kB / 1.122 GB, free: 86.78 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/2.349, allocations: 25.7 kB / 1.122 GB, free: 86.75 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/2.349, allocations: 165.2 kB / 1.122 GB, free: 86.58 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 6.12e-05/2.349, allocations: 44.17 kB / 1.122 GB, free: 86.54 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/2.349, allocations: 288 / 1.122 GB, free: 86.54 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/2.349, allocations: 314.1 kB / 1.123 GB, free: 86.23 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/2.349, allocations: 76.67 kB / 1.123 GB, free: 86.18 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/2.349, allocations: 95.73 kB / 1.123 GB, free: 86.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/2.351, allocations: 227.9 kB / 1.123 GB, free: 85.92 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/2.351, allocations: 3.938 kB / 1.123 GB, free: 85.91 MB / 0.4952 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.002375/2.354, allocations: 356.3 kB / 1.123 GB, free: 85.62 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/2.354, allocations: 8.062 kB / 1.123 GB, free: 85.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/2.354, allocations: 7.984 kB / 1.123 GB, free: 85.61 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/2.354, allocations: 0 / 1.123 GB, free: 85.61 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/2.355, allocations: 58.5 kB / 1.123 GB, free: 85.55 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-06/2.355, allocations: 0 / 1.123 GB, free: 85.55 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/2.356, allocations: 19.98 kB / 1.123 GB, free: 85.53 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/2.356, allocations: 7.984 kB / 1.123 GB, free: 85.52 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/2.356, allocations: 105 kB / 1.124 GB, free: 85.41 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/2.356, allocations: 19.86 kB / 1.124 GB, free: 85.39 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/2.359, allocations: 454.8 kB / 1.124 GB, free: 85.04 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/2.359, allocations: 0 / 1.124 GB, free: 85.04 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/2.359, allocations: 0 / 1.124 GB, free: 85.04 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.359, allocations: 8 kB / 1.124 GB, free: 85.03 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/2.362, allocations: 0.8204 MB / 1.125 GB, free: 84.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.362, allocations: 0 / 1.125 GB, free: 84.15 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/2.363, allocations: 43.92 kB / 1.125 GB, free: 84.11 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/2.363, allocations: 4 kB / 1.125 GB, free: 84.11 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/2.363, allocations: 4.234 kB / 1.125 GB, free: 84.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/2.363, allocations: 11.94 kB / 1.125 GB, free: 84.09 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.363, allocations: 3.938 kB / 1.125 GB, free: 84.09 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/2.365, allocations: 455.2 kB / 1.125 GB, free: 83.62 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/2.365, allocations: 112.9 kB / 1.125 GB, free: 83.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/2.365, allocations: 7.953 kB / 1.125 GB, free: 83.49 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/2.366, allocations: 4 kB / 1.125 GB, free: 83.48 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/2.366, allocations: 11.97 kB / 1.125 GB, free: 83.47 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/2.366, allocations: 8 kB / 1.125 GB, free: 83.46 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 3.251e-05/2.366, allocations: 87.28 kB / 1.126 GB, free: 83.38 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/2.366, allocations: 0 / 1.126 GB, free: 83.38 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0007072/2.367, allocations: 135.8 kB / 1.126 GB, free: 83.25 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/2.368, allocations: 0.7228 MB / 1.126 GB, free: 82.51 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0005375/2.369, allocations: 183.9 kB / 1.127 GB, free: 82.33 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.369, allocations: 0 / 1.127 GB, free: 82.33 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/2.369, allocations: 107.9 kB / 1.127 GB, free: 82.23 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/2.369, allocations: 19.98 kB / 1.127 GB, free: 82.21 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/2.37, allocations: 178.6 kB / 1.127 GB, free: 82 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/2.37, allocations: 0.7043 MB / 1.128 GB, free: 81.27 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/2.371, allocations: 31.41 kB / 1.128 GB, free: 81.24 MB / 0.4952 GB Notification: Performance of SimCode: time 9.72e-07/2.371, allocations: 3.938 kB / 1.128 GB, free: 81.24 MB / 0.4952 GB Notification: Performance of Templates: time 0.01326/2.384, allocations: 6.872 MB / 1.134 GB, free: 74.35 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches