Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.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.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_trunk_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_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 196.6 kB / 16.78 MB, free: 4.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 226.5 MB / 244.1 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009605/0.000961, allocations: 100.7 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4275/0.4275, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4025, allocations: 62.96 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.491, allocations: 473 MB / 0.9784 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.492, allocations: 75.95 kB / 0.9785 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07561/1.567, allocations: 41.37 MB / 1.019 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.625e-06/1.567, allocations: 7.938 kB / 1.019 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.567, allocations: 0 / 1.019 GB, free: 103.7 MB / 0.5417 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.0005537/1.568, allocations: 411.2 kB / 1.019 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.568, allocations: 8.875 kB / 1.019 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/1.568, allocations: 8.844 kB / 1.019 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.568, allocations: 164.4 kB / 1.019 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.568, allocations: 4.375 kB / 1.019 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/1.568, allocations: 4.375 kB / 1.019 GB, free: 103 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/1.568, allocations: 86.16 kB / 1.02 GB, free: 103 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.568, allocations: 192 / 1.02 GB, free: 103 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.568, allocations: 3.938 kB / 1.02 GB, free: 103 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.568, allocations: 4 kB / 1.02 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/1.568, allocations: 47.91 kB / 1.02 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/1.569, allocations: 385.8 kB / 1.02 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/1.569, allocations: 62.5 kB / 1.02 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/1.569, allocations: 24.84 kB / 1.02 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.57, allocations: 1.209 MB / 1.021 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.57, allocations: 38.56 kB / 1.021 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/1.57, allocations: 0 / 1.021 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.005118/1.575, allocations: 0.6488 MB / 1.022 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.575, allocations: 59.34 kB / 1.022 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/1.575, allocations: 101.8 kB / 1.022 GB, free: 100 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/1.575, allocations: 29.7 kB / 1.022 GB, free: 100 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/1.575, allocations: 92.33 kB / 1.022 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/1.576, allocations: 47.3 kB / 1.022 GB, free: 99.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/1.576, allocations: 3.938 kB / 1.022 GB, free: 99.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/1.576, allocations: 326.8 kB / 1.023 GB, free: 99.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/1.576, allocations: 75.95 kB / 1.023 GB, free: 99.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/1.576, allocations: 103.8 kB / 1.023 GB, free: 99.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/1.576, allocations: 206.6 kB / 1.023 GB, free: 99.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.576, allocations: 0 / 1.023 GB, free: 99.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004983/1.577, allocations: 241.4 kB / 1.023 GB, free: 98.88 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.577, allocations: 4 kB / 1.023 GB, free: 98.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.577, allocations: 0 / 1.023 GB, free: 98.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.577, allocations: 4.562 kB / 1.023 GB, free: 98.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/1.578, allocations: 51.94 kB / 1.023 GB, free: 98.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.578, allocations: 0 / 1.023 GB, free: 98.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/1.578, allocations: 32.23 kB / 1.023 GB, free: 98.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/1.578, allocations: 7.984 kB / 1.023 GB, free: 98.79 MB / 0.5417 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 () * Number of clocked 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.0001047/1.578, allocations: 119.5 kB / 1.023 GB, free: 98.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/1.578, allocations: 11.94 kB / 1.023 GB, free: 98.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/1.579, allocations: 345.3 kB / 1.024 GB, free: 98.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.579, allocations: 3.984 kB / 1.024 GB, free: 98.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.579, allocations: 4 kB / 1.024 GB, free: 98.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.579, allocations: 7.938 kB / 1.024 GB, free: 98.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/1.58, allocations: 0.7332 MB / 1.024 GB, free: 97.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.58, allocations: 4 kB / 1.024 GB, free: 97.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/1.58, allocations: 47.84 kB / 1.024 GB, free: 97.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.58, allocations: 3.938 kB / 1.024 GB, free: 97.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/1.58, allocations: 11.98 kB / 1.024 GB, free: 97.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.58, allocations: 0 / 1.024 GB, free: 97.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.58, allocations: 0 / 1.024 GB, free: 97.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/1.581, allocations: 343.3 kB / 1.025 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/1.581, allocations: 108.9 kB / 1.025 GB, free: 96.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/1.581, allocations: 7.938 kB / 1.025 GB, free: 96.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/1.581, allocations: 11.98 kB / 1.025 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/1.582, allocations: 11.98 kB / 1.025 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/1.582, allocations: 8 kB / 1.025 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.145e-05/1.582, allocations: 91.27 kB / 1.025 GB, free: 96.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/1.582, allocations: 3.938 kB / 1.025 GB, free: 96.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000642/1.582, allocations: 147.8 kB / 1.025 GB, free: 96.65 MB / 0.5417 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 () * Number of clocked 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.0008427/1.583, allocations: 0.6338 MB / 1.026 GB, free: 96.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004873/1.584, allocations: 204.4 kB / 1.026 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.584, allocations: 0 / 1.026 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/1.584, allocations: 111.9 kB / 1.026 GB, free: 95.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/1.584, allocations: 35.91 kB / 1.026 GB, free: 95.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/1.585, allocations: 340.6 kB / 1.026 GB, free: 95.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/1.585, allocations: 0.6967 MB / 1.027 GB, free: 94.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/1.585, allocations: 35.41 kB / 1.027 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/1.585, allocations: 4 kB / 1.027 GB, free: 94.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.007361/1.593, allocations: 6.617 MB / 1.034 GB, free: 87.91 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches