Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009614/0.0009615, allocations: 96.31 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.00112, allocations: 179.1 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002861, allocations: 11.94 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 61.93 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4089/0.5256, allocations: 126.8 MB / 0.5843 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.527, allocations: 1.003 MB / 0.5853 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.527, allocations: 0 / 0.5853 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.5272, allocations: 39.78 kB / 0.5853 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.5272, allocations: 35.92 kB / 0.5853 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.5283, allocations: 362.8 kB / 0.5857 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.5284, allocations: 51.91 kB / 0.5857 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.5285, allocations: 8 kB / 0.5857 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.5286, allocations: 39.84 kB / 0.5858 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.5287, allocations: 23.92 kB / 0.5858 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.5287, allocations: 7.938 kB / 0.5858 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5297, allocations: 491 kB / 0.5863 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.5298, allocations: 7.984 kB / 0.5863 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.5298, allocations: 37.7 kB / 0.5863 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.5301, allocations: 201.5 kB / 0.5865 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.5301, allocations: 0 / 0.5865 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5302, allocations: 0 / 0.5865 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.5302, allocations: 0 / 0.5865 GB, free: 0.8516 MB / 414.1 MB 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.000517/0.5307, allocations: 395.7 kB / 0.5869 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5307, allocations: 8.031 kB / 0.5869 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.5308, allocations: 8 kB / 0.5869 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.5309, allocations: 167 kB / 0.5871 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5309, allocations: 4 kB / 0.5871 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.5309, allocations: 12 kB / 0.5871 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5311, allocations: 73.66 kB / 0.5871 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5311, allocations: 3.906 kB / 0.5872 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5311, allocations: 3.938 kB / 0.5872 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5311, allocations: 0 / 0.5872 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.5312, allocations: 51.91 kB / 0.5872 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.5316, allocations: 381.8 kB / 0.5876 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5318, allocations: 70.55 kB / 0.5876 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.5329, allocations: 1.009 MB / 0.5886 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.533, allocations: 42.5 kB / 0.5887 GB, free: 14.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.533, allocations: 0 / 0.5887 GB, free: 14.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006743/0.5397, allocations: 0.653 MB / 0.5893 GB, free: 13.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.5398, allocations: 55.41 kB / 0.5894 GB, free: 13.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.5399, allocations: 102.4 kB / 0.5894 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.5399, allocations: 29.7 kB / 0.5895 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.54, allocations: 92.27 kB / 0.5896 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.54, allocations: 47.3 kB / 0.5896 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.54, allocations: 4 kB / 0.5896 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.5401, allocations: 318.8 kB / 0.5899 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.5403, allocations: 83.88 kB / 0.59 GB, free: 12.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.5405, allocations: 106.5 kB / 0.5901 GB, free: 12.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.5407, allocations: 91.97 kB / 0.5902 GB, free: 12.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5408, allocations: 0 / 0.5902 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005027/0.5413, allocations: 250.2 kB / 0.5904 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5413, allocations: 8 kB / 0.5904 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5413, allocations: 0 / 0.5904 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5413, allocations: 0 / 0.5904 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.542, allocations: 63.94 kB / 0.5905 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.542, allocations: 0.875 kB / 0.5905 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.5426, allocations: 15.98 kB / 0.5905 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.5426, allocations: 11.98 kB / 0.5905 GB, free: 12.29 MB / 430.1 MB 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.000112/0.5427, allocations: 118.4 kB / 0.5906 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.5428, allocations: 11.86 kB / 0.5906 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007408/0.5435, allocations: 353.1 kB / 0.591 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5435, allocations: 3.953 kB / 0.591 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5435, allocations: 0 / 0.591 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5436, allocations: 4 kB / 0.591 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.5446, allocations: 0.7579 MB / 0.5917 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5446, allocations: 0 / 0.5917 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.5452, allocations: 51.91 kB / 0.5918 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5452, allocations: 0 / 0.5918 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.5453, allocations: 7.984 kB / 0.5918 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5453, allocations: 0 / 0.5918 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5453, allocations: 0 / 0.5918 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.5458, allocations: 355.2 kB / 0.5921 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5459, allocations: 112.9 kB / 0.5922 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.546, allocations: 7.953 kB / 0.5922 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.5465, allocations: 8 kB / 0.5922 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.5466, allocations: 15.97 kB / 0.5923 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.5466, allocations: 11.98 kB / 0.5923 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.385e-05/0.5466, allocations: 83.28 kB / 0.5924 GB, free: 10.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5466, allocations: 0 / 0.5924 GB, free: 10.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.5471, allocations: 95.98 kB / 0.5924 GB, free: 10.19 MB / 430.1 MB 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.0003922/0.5475, allocations: 234.9 kB / 0.5927 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.5479, allocations: 203.4 kB / 0.5929 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5479, allocations: 0 / 0.5929 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.5482, allocations: 123.8 kB / 0.593 GB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.5485, allocations: 32.03 kB / 0.593 GB, free: 9.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.5491, allocations: 299 kB / 0.5933 GB, free: 9.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.5493, allocations: 0.7046 MB / 0.594 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004524/0.5498, allocations: 60.75 kB / 0.594 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.55, allocations: 35.38 kB / 0.5941 GB, free: 8.453 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.55, allocations: 0 / 0.5941 GB, free: 8.453 MB / 430.1 MB Notification: Performance of Templates: time 0.009345/0.5593, allocations: 5.863 MB / 0.5998 GB, free: 2.59 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches