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.001204/0.001204, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001315/0.001315, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.411/1.411, allocations: 222.9 MB / 242.5 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.16 MB / 336.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.41 kB / 408.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4796/0.6069, allocations: 149.2 MB / 0.6039 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.6084, allocations: 1.23 MB / 0.6051 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.6085, allocations: 0 / 0.6051 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.6087, allocations: 42.66 kB / 0.6052 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.6088, allocations: 27.78 kB / 0.6052 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.6099, allocations: 384.3 kB / 0.6056 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.61, allocations: 63.55 kB / 0.6056 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.61, allocations: 4 kB / 0.6056 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.6101, allocations: 35.84 kB / 0.6057 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.6101, allocations: 23.92 kB / 0.6057 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.6102, allocations: 4 kB / 0.6057 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009736/0.6111, allocations: 498.8 kB / 0.6062 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.6112, allocations: 7.938 kB / 0.6062 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.6112, allocations: 27.86 kB / 0.6062 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.6116, allocations: 215.5 kB / 0.6064 GB, free: 9.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6116, allocations: 0 / 0.6064 GB, free: 9.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6116, allocations: 0 / 0.6064 GB, free: 9.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.6117, allocations: 3.938 kB / 0.6064 GB, free: 9.383 MB / 446.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.0007317/0.6124, allocations: 415.9 kB / 0.6068 GB, free: 8.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6125, allocations: 8.031 kB / 0.6068 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.6125, allocations: 9.312 kB / 0.6068 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.6127, allocations: 178.8 kB / 0.607 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.6127, allocations: 0 / 0.607 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.6127, allocations: 8 kB / 0.607 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.6129, allocations: 67.17 kB / 0.6071 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6129, allocations: 4 kB / 0.6071 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.613, allocations: 4.875 kB / 0.6071 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.613, allocations: 0 / 0.6071 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.6131, allocations: 55.95 kB / 0.6071 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.6136, allocations: 385.7 kB / 0.6075 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.6138, allocations: 58.56 kB / 0.6075 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.6138, allocations: 24.84 kB / 0.6076 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/0.6156, allocations: 1.232 MB / 0.6088 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.6156, allocations: 38.69 kB / 0.6088 GB, free: 6.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.6156, allocations: 0 / 0.6088 GB, free: 6.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.006877/0.6225, allocations: 0.6609 MB / 0.6095 GB, free: 5.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.6226, allocations: 55.41 kB / 0.6095 GB, free: 5.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.6227, allocations: 102.7 kB / 0.6096 GB, free: 5.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.6227, allocations: 29.7 kB / 0.6096 GB, free: 5.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.6228, allocations: 88.33 kB / 0.6097 GB, free: 5.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.6228, allocations: 47.3 kB / 0.6098 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.6229, allocations: 41.67 kB / 0.6098 GB, free: 5.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6231, allocations: 319.4 kB / 0.6101 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.6233, allocations: 87.89 kB / 0.6102 GB, free: 5.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.6235, allocations: 102.5 kB / 0.6103 GB, free: 4.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.6239, allocations: 197.5 kB / 0.6105 GB, free: 4.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.624, allocations: 11.25 kB / 0.6105 GB, free: 4.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005768/0.6245, allocations: 253.5 kB / 0.6107 GB, free: 4.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.6246, allocations: 7.938 kB / 0.6107 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6246, allocations: 0 / 0.6107 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6246, allocations: 4 kB / 0.6107 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.6253, allocations: 55.88 kB / 0.6108 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6253, allocations: 4 kB / 0.6108 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.6259, allocations: 12 kB / 0.6108 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.6259, allocations: 20.03 kB / 0.6108 GB, free: 4.359 MB / 446.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.0001202/0.6261, allocations: 121.7 kB / 0.6109 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.6261, allocations: 7.906 kB / 0.6109 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.6269, allocations: 345.4 kB / 0.6113 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.627, allocations: 3.984 kB / 0.6113 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.627, allocations: 0 / 0.6113 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.627, allocations: 3.938 kB / 0.6113 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6281, allocations: 0.7586 MB / 0.612 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6281, allocations: 0 / 0.612 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.6287, allocations: 51.89 kB / 0.6121 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6287, allocations: 0 / 0.6121 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.6288, allocations: 7.984 kB / 0.6121 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6288, allocations: 0 / 0.6121 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6288, allocations: 0 / 0.6121 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.6294, allocations: 359.2 kB / 0.6124 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.6295, allocations: 101 kB / 0.6125 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.6296, allocations: 4 kB / 0.6125 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/0.6301, allocations: 12.86 kB / 0.6125 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.6302, allocations: 19.92 kB / 0.6126 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.6302, allocations: 11.98 kB / 0.6126 GB, free: 2.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.6303, allocations: 80.72 kB / 0.6126 GB, free: 2.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6303, allocations: 0 / 0.6126 GB, free: 2.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.6308, allocations: 103.9 kB / 0.6127 GB, free: 2.254 MB / 446.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.0004924/0.6313, allocations: 227.5 kB / 0.613 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.6318, allocations: 207.8 kB / 0.6132 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6318, allocations: 0 / 0.6132 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.6321, allocations: 122.5 kB / 0.6133 GB, free: 1.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.6325, allocations: 23.97 kB / 0.6133 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.6333, allocations: 316.8 kB / 0.6136 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.6336, allocations: 0.7043 MB / 0.6143 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.6339, allocations: 39.38 kB / 0.6143 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/0.6339, allocations: 3.938 kB / 0.6143 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of Templates: time 0.006875/0.6408, allocations: 4.085 MB / 0.6183 GB, free: 12.47 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches