Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001051/0.001051, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007223/0.0007223, allocations: 84.36 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3409/0.3409, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.152e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.369, allocations: 0.6099 GB / 1.083 GB, free: 11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.369, allocations: 75.89 kB / 1.083 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3647/1.734, allocations: 45.41 MB / 1.127 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/1.734, allocations: 0 / 1.127 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.734, allocations: 3.469 kB / 1.127 GB, free: 166.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005498/1.735, allocations: 424.6 kB / 1.128 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.735, allocations: 9 kB / 1.128 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.735, allocations: 8.312 kB / 1.128 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/1.735, allocations: 168.1 kB / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.735, allocations: 9.891 kB / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/1.735, allocations: 6.25 kB / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.735, allocations: 80.44 kB / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.735, allocations: 4 kB / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.735, allocations: 0 / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.735, allocations: 3.953 kB / 1.128 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/1.735, allocations: 48.66 kB / 1.128 GB, free: 166 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/1.736, allocations: 382 kB / 1.128 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/1.736, allocations: 60.81 kB / 1.128 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/1.736, allocations: 18.97 kB / 1.128 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008949/1.737, allocations: 1.008 MB / 1.129 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/1.737, allocations: 31.27 kB / 1.129 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/1.737, allocations: 3.938 kB / 1.129 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.004721/1.741, allocations: 0.6189 MB / 1.13 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.742, allocations: 55.41 kB / 1.13 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/1.742, allocations: 100.9 kB / 1.13 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/1.742, allocations: 29.7 kB / 1.13 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/1.742, allocations: 93.3 kB / 1.13 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/1.742, allocations: 42.56 kB / 1.13 GB, free: 164 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/1.742, allocations: 3.344 kB / 1.13 GB, free: 164 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/1.742, allocations: 321.3 kB / 1.131 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/1.742, allocations: 72.81 kB / 1.131 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/1.742, allocations: 105.2 kB / 1.131 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.742, allocations: 78.09 kB / 1.131 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/1.742, allocations: 0 / 1.131 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004087/1.743, allocations: 229.3 kB / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.743, allocations: 6.016 kB / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.743, allocations: 0 / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.743, allocations: 0 / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/1.743, allocations: 58.2 kB / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.743, allocations: 4.766 kB / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/1.744, allocations: 19.92 kB / 1.131 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/1.744, allocations: 13.75 kB / 1.131 GB, free: 163.5 MB / 0.5105 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 7.602e-05/1.744, allocations: 116 kB / 1.131 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/1.744, allocations: 4.109 kB / 1.131 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/1.745, allocations: 325.7 kB / 1.132 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.745, allocations: 2.719 kB / 1.132 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.745, allocations: 4 kB / 1.132 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.745, allocations: 2.234 kB / 1.132 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/1.745, allocations: 0.7285 MB / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.745, allocations: 4.734 kB / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/1.746, allocations: 44.91 kB / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.746, allocations: 0 / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.746, allocations: 9.594 kB / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.746, allocations: 0 / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.746, allocations: 4 kB / 1.132 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/1.746, allocations: 333.1 kB / 1.133 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/1.746, allocations: 108.1 kB / 1.133 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/1.746, allocations: 7.875 kB / 1.133 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/1.747, allocations: 9.375 kB / 1.133 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/1.747, allocations: 11.86 kB / 1.133 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/1.747, allocations: 11.12 kB / 1.133 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.364e-05/1.747, allocations: 87.77 kB / 1.133 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.747, allocations: 3.938 kB / 1.133 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006107/1.748, allocations: 143.8 kB / 1.133 GB, free: 162.2 MB / 0.5105 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.0008579/1.748, allocations: 0.6425 MB / 1.134 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003499/1.749, allocations: 190.5 kB / 1.134 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.749, allocations: 0 / 1.134 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.749, allocations: 107.4 kB / 1.134 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.749, allocations: 27.69 kB / 1.134 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/1.75, allocations: 175.9 kB / 1.134 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/1.75, allocations: 0.6983 MB / 1.135 GB, free: 161 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000441/1.75, allocations: 64.34 kB / 1.135 GB, free: 161 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/1.75, allocations: 28.66 kB / 1.135 GB, free: 161 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/1.75, allocations: 0 / 1.135 GB, free: 161 MB / 0.5105 GB Notification: Performance of Templates: time 0.01732/1.768, allocations: 14.16 MB / 1.149 GB, free: 158.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches