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.001607/0.001607, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001687/0.001687, allocations: 192 kB / 18.56 MB, free: 4.434 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.406/1.406, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2046/0.2046, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 58.72 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1103, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3771/0.4875, allocations: 151.5 MB / 0.6062 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4891, allocations: 1.194 MB / 0.6073 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.4892, allocations: 4 kB / 0.6074 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.4894, allocations: 34.06 kB / 0.6074 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.4895, allocations: 27.72 kB / 0.6074 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.491, allocations: 439.1 kB / 0.6078 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.4911, allocations: 71.59 kB / 0.6079 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.4911, allocations: 4 kB / 0.6079 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.4912, allocations: 35.84 kB / 0.6079 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.4913, allocations: 27.86 kB / 0.608 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.4913, allocations: 4 kB / 0.608 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4925, allocations: 498.7 kB / 0.6084 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.4925, allocations: 11.92 kB / 0.6085 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.4926, allocations: 23.88 kB / 0.6085 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.4931, allocations: 315.3 kB / 0.6088 GB, free: 6.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4932, allocations: 7.938 kB / 0.6088 GB, free: 6.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.4932, allocations: 0 / 0.6088 GB, free: 6.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4932, allocations: 0 / 0.6088 GB, free: 6.492 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.0005681/0.4938, allocations: 408 kB / 0.6092 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.4938, allocations: 8.031 kB / 0.6092 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.4938, allocations: 5.312 kB / 0.6092 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.494, allocations: 166.9 kB / 0.6093 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.494, allocations: 7.938 kB / 0.6094 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.494, allocations: 8 kB / 0.6094 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4941, allocations: 73.66 kB / 0.6094 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4942, allocations: 0 / 0.6094 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4942, allocations: 0 / 0.6094 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4942, allocations: 4 kB / 0.6094 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.4943, allocations: 51.91 kB / 0.6095 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.4948, allocations: 381.8 kB / 0.6098 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.4949, allocations: 66.48 kB / 0.6099 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.4949, allocations: 20.84 kB / 0.6099 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.4969, allocations: 1.236 MB / 0.6111 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.497, allocations: 30.56 kB / 0.6112 GB, free: 3.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.497, allocations: 4 kB / 0.6112 GB, free: 3.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.00708/0.5041, allocations: 0.6616 MB / 0.6118 GB, free: 2.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.5041, allocations: 51.41 kB / 0.6119 GB, free: 2.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.5042, allocations: 106.4 kB / 0.612 GB, free: 2.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.5043, allocations: 25.7 kB / 0.612 GB, free: 2.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.5043, allocations: 88.33 kB / 0.6121 GB, free: 2.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.5044, allocations: 55.27 kB / 0.6121 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5045, allocations: 45.69 kB / 0.6122 GB, free: 2.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5046, allocations: 318.8 kB / 0.6125 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.5048, allocations: 83.88 kB / 0.6126 GB, free: 2.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.5051, allocations: 106.5 kB / 0.6127 GB, free: 2.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.5055, allocations: 209.2 kB / 0.6129 GB, free: 1.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5055, allocations: 0 / 0.6129 GB, free: 1.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005748/0.5061, allocations: 245.5 kB / 0.6131 GB, free: 1.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5062, allocations: 15.42 kB / 0.6131 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5062, allocations: 0 / 0.6131 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5062, allocations: 0 / 0.6131 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.5069, allocations: 51.95 kB / 0.6132 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.507, allocations: 8 kB / 0.6132 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.5076, allocations: 17.05 kB / 0.6132 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.5076, allocations: 11.98 kB / 0.6132 GB, free: 1.484 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.0001168/0.5077, allocations: 125.7 kB / 0.6133 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.5078, allocations: 7.906 kB / 0.6133 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/0.5086, allocations: 345.3 kB / 0.6136 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5086, allocations: 4 kB / 0.6137 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5086, allocations: 0 / 0.6137 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5086, allocations: 3.188 kB / 0.6137 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.5098, allocations: 0.7562 MB / 0.6144 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5098, allocations: 0 / 0.6144 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.5105, allocations: 47.91 kB / 0.6144 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5105, allocations: 0 / 0.6144 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.5105, allocations: 7.984 kB / 0.6144 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5105, allocations: 4 kB / 0.6145 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5105, allocations: 0 / 0.6145 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.5111, allocations: 357.7 kB / 0.6148 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.5112, allocations: 108.9 kB / 0.6149 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.5113, allocations: 0 / 0.6149 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.5119, allocations: 15.98 kB / 0.6149 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.5119, allocations: 11.92 kB / 0.6149 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.512, allocations: 15.98 kB / 0.6149 GB, free: 15.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.512, allocations: 79.28 kB / 0.615 GB, free: 15.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.512, allocations: 0 / 0.615 GB, free: 15.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.5125, allocations: 107.9 kB / 0.6151 GB, free: 15.38 MB / 462.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.0004744/0.513, allocations: 227 kB / 0.6153 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.5136, allocations: 215.7 kB / 0.6155 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5136, allocations: 0 / 0.6155 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.5138, allocations: 115.9 kB / 0.6157 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.5144, allocations: 34.52 kB / 0.6157 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.515, allocations: 259.7 kB / 0.6159 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.5154, allocations: 0.6963 MB / 0.6166 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004581/0.5158, allocations: 69.61 kB / 0.6167 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.516, allocations: 35.39 kB / 0.6167 GB, free: 13.68 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5161, allocations: 0 / 0.6167 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Templates: time 0.01094/0.527, allocations: 6.178 MB / 0.6227 GB, free: 7.504 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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