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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001453, allocations: 107.7 kB / 17.03 MB, free: 5.66 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.001483/0.001483, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2468/0.2468, allocations: 43.52 MB / 314.7 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 62.92 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3888/0.4997, allocations: 153.1 MB / 0.5811 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.5031, allocations: 3.639 MB / 0.5847 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.5032, allocations: 0 / 0.5847 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.5034, allocations: 37.64 kB / 0.5847 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.5035, allocations: 30.09 kB / 0.5847 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.5046, allocations: 437 kB / 0.5852 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.5047, allocations: 74 kB / 0.5852 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.5048, allocations: 2.5 kB / 0.5852 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.5048, allocations: 31.3 kB / 0.5853 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.5049, allocations: 26.08 kB / 0.5853 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.5049, allocations: 2.125 kB / 0.5853 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.5058, allocations: 0.4955 MB / 0.5858 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.5059, allocations: 5.469 kB / 0.5858 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.5059, allocations: 28.14 kB / 0.5858 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.5064, allocations: 318.5 kB / 0.5861 GB, free: 12.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5064, allocations: 2.75 kB / 0.5861 GB, free: 12.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5064, allocations: 0 / 0.5861 GB, free: 12.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.5064, allocations: 0 / 0.5861 GB, free: 12.37 MB / 430.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.0005132/0.507, allocations: 408.5 kB / 0.5865 GB, free: 11.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.507, allocations: 9.469 kB / 0.5865 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.5071, allocations: 7.656 kB / 0.5865 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5072, allocations: 173.8 kB / 0.5867 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5072, allocations: 6.125 kB / 0.5867 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.5072, allocations: 9.344 kB / 0.5867 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.5074, allocations: 69.08 kB / 0.5868 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5074, allocations: 9.734 kB / 0.5868 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5074, allocations: 3.188 kB / 0.5868 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5074, allocations: 2.906 kB / 0.5868 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.5075, allocations: 43.97 kB / 0.5868 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.5079, allocations: 381.8 kB / 0.5872 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.508, allocations: 63.53 kB / 0.5872 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.5081, allocations: 25.97 kB / 0.5873 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.5098, allocations: 1.229 MB / 0.5885 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5099, allocations: 34.69 kB / 0.5885 GB, free: 9.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.5099, allocations: 0 / 0.5885 GB, free: 9.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006504/0.5164, allocations: 0.6567 MB / 0.5891 GB, free: 9.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5164, allocations: 54.53 kB / 0.5892 GB, free: 9.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.5165, allocations: 110 kB / 0.5893 GB, free: 9.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.5166, allocations: 25.7 kB / 0.5893 GB, free: 9.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.5166, allocations: 90.36 kB / 0.5894 GB, free: 9.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.5166, allocations: 46.17 kB / 0.5895 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.5168, allocations: 44.58 kB / 0.5895 GB, free: 9.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5169, allocations: 321.1 kB / 0.5898 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.5171, allocations: 79.38 kB / 0.5899 GB, free: 9.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.5173, allocations: 112.9 kB / 0.59 GB, free: 9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.5177, allocations: 201.8 kB / 0.5902 GB, free: 8.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5177, allocations: 0 / 0.5902 GB, free: 8.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004869/0.5182, allocations: 252.5 kB / 0.5904 GB, free: 8.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5182, allocations: 10.31 kB / 0.5904 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5182, allocations: 0 / 0.5904 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5182, allocations: 6.531 kB / 0.5904 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.5189, allocations: 54.97 kB / 0.5905 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5189, allocations: 1.969 kB / 0.5905 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.5194, allocations: 17.77 kB / 0.5905 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.5194, allocations: 11.8 kB / 0.5905 GB, free: 8.844 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.5196, allocations: 123.4 kB / 0.5906 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.5196, allocations: 16.44 kB / 0.5906 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.5204, allocations: 348.1 kB / 0.591 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5204, allocations: 3.281 kB / 0.591 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5204, allocations: 0 / 0.591 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5204, allocations: 5.75 kB / 0.591 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5214, allocations: 0.7507 MB / 0.5917 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5214, allocations: 2.188 kB / 0.5917 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.522, allocations: 46.03 kB / 0.5918 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.522, allocations: 2.531 kB / 0.5918 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.5221, allocations: 6.234 kB / 0.5918 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5221, allocations: 0 / 0.5918 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5221, allocations: 2.875 kB / 0.5918 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.5226, allocations: 356.8 kB / 0.5921 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5227, allocations: 104 kB / 0.5922 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.5228, allocations: 0 / 0.5922 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.5233, allocations: 15.05 kB / 0.5922 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.5233, allocations: 14.77 kB / 0.5922 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.5234, allocations: 10.02 kB / 0.5923 GB, free: 7.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.5234, allocations: 91.16 kB / 0.5923 GB, free: 7.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5234, allocations: 0 / 0.5923 GB, free: 7.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.5238, allocations: 99.83 kB / 0.5924 GB, free: 7.602 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003722/0.5242, allocations: 236.7 kB / 0.5927 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.5247, allocations: 205.4 kB / 0.5929 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5247, allocations: 0 / 0.5929 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.5249, allocations: 121.2 kB / 0.593 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.5253, allocations: 32.31 kB / 0.593 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.5259, allocations: 264.4 kB / 0.5933 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5261, allocations: 0.6945 MB / 0.5939 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.5264, allocations: 70.5 kB / 0.594 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.5267, allocations: 30.97 kB / 0.594 GB, free: 6.445 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5267, allocations: 0 / 0.594 GB, free: 6.445 MB / 430.1 MB Notification: Performance of Templates: time 0.009854/0.5365, allocations: 6.218 MB / 0.6001 GB, free: 3.203 MB / 430.1 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches