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.001123/0.001123, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001185/0.001185, allocations: 185 kB / 18.71 MB, free: 4.32 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.251/0.251, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 60.14 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1702/0.518, allocations: 151.5 MB / 0.6668 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.5197, allocations: 1.199 MB / 0.668 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.5198, allocations: 4 kB / 0.668 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.5201, allocations: 39.75 kB / 0.668 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.5201, allocations: 19.78 kB / 0.6681 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.5216, allocations: 433.9 kB / 0.6685 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.5217, allocations: 75.53 kB / 0.6685 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.5218, allocations: 7.656 kB / 0.6686 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.5219, allocations: 35.84 kB / 0.6686 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.5219, allocations: 23.92 kB / 0.6686 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.5219, allocations: 4 kB / 0.6686 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.5231, allocations: 0.4909 MB / 0.6691 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.5231, allocations: 11.92 kB / 0.6691 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.5232, allocations: 27.88 kB / 0.6691 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.5238, allocations: 309.3 kB / 0.6694 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5238, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5238, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5238, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.5137 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.0005999/0.5244, allocations: 407.3 kB / 0.6698 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5245, allocations: 12.03 kB / 0.6698 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.5245, allocations: 4.938 kB / 0.6698 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5247, allocations: 170.9 kB / 0.67 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5247, allocations: 8 kB / 0.67 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5247, allocations: 4 kB / 0.67 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.5249, allocations: 73.59 kB / 0.6701 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5249, allocations: 0 / 0.6701 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5249, allocations: 4 kB / 0.6701 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5249, allocations: 0 / 0.6701 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.525, allocations: 51.97 kB / 0.6701 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.5255, allocations: 381.8 kB / 0.6705 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5256, allocations: 74.41 kB / 0.6706 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.5257, allocations: 20.86 kB / 0.6706 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/0.5276, allocations: 1.232 MB / 0.6718 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.5276, allocations: 38.5 kB / 0.6718 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.5276, allocations: 0 / 0.6718 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007285/0.5349, allocations: 0.6571 MB / 0.6725 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.535, allocations: 67.39 kB / 0.6725 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.5351, allocations: 93.86 kB / 0.6726 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.5351, allocations: 33.7 kB / 0.6727 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.5352, allocations: 92.25 kB / 0.6727 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.5352, allocations: 47.34 kB / 0.6728 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.5354, allocations: 49.58 kB / 0.6728 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5355, allocations: 314.8 kB / 0.6731 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.5357, allocations: 83.94 kB / 0.6732 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.536, allocations: 106.5 kB / 0.6733 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.5364, allocations: 202 kB / 0.6735 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.5364, allocations: 4 kB / 0.6735 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005834/0.537, allocations: 245.6 kB / 0.6737 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.537, allocations: 7.984 kB / 0.6738 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5371, allocations: 4 kB / 0.6738 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5371, allocations: 0 / 0.6738 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.5378, allocations: 51.89 kB / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5378, allocations: 0 / 0.6738 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.5384, allocations: 19.98 kB / 0.6738 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.5385, allocations: 11.98 kB / 0.6738 GB, free: 12.36 MB / 0.5294 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 () * 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.0001326/0.5386, allocations: 121.8 kB / 0.674 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.5387, allocations: 7.906 kB / 0.674 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.5395, allocations: 360.6 kB / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5395, allocations: 4 kB / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5395, allocations: 0 / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5396, allocations: 4 kB / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.5407, allocations: 0.7516 MB / 0.675 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5407, allocations: 0 / 0.675 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.5414, allocations: 43.97 kB / 0.6751 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5414, allocations: 0 / 0.6751 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.5415, allocations: 11.98 kB / 0.6751 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5415, allocations: 256 / 0.6751 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5415, allocations: 7.938 kB / 0.6751 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.5421, allocations: 356.2 kB / 0.6754 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.5422, allocations: 105 kB / 0.6755 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.5423, allocations: 8 kB / 0.6756 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.5429, allocations: 7.984 kB / 0.6756 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.5429, allocations: 19.92 kB / 0.6756 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.543, allocations: 11.98 kB / 0.6756 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.543, allocations: 87.27 kB / 0.6757 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.543, allocations: 4 kB / 0.6757 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004638/0.5435, allocations: 99.88 kB / 0.6758 GB, free: 10.23 MB / 0.5294 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 () * 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.0005843/0.5441, allocations: 227 kB / 0.676 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008752/0.545, allocations: 199.9 kB / 0.6762 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.545, allocations: 0 / 0.6762 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.5454, allocations: 126.4 kB / 0.6763 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.5459, allocations: 30.92 kB / 0.6763 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.5466, allocations: 248.2 kB / 0.6766 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5469, allocations: 0.7 MB / 0.6773 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.5473, allocations: 64.75 kB / 0.6773 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.5475, allocations: 35.41 kB / 0.6773 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.5475, allocations: 0 / 0.6773 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of Templates: time 0.01085/0.5584, allocations: 6.18 MB / 0.6834 GB, free: 2.379 MB / 0.5294 GB 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