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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 103.9 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.001851/0.001851, 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.373/1.373, 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.1982/0.1982, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.88 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1266, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3972/0.5238, allocations: 151.5 MB / 0.6063 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.5254, allocations: 1.197 MB / 0.6075 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.5255, allocations: 4 kB / 0.6075 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5257, allocations: 33.8 kB / 0.6075 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.5258, allocations: 27.77 kB / 0.6075 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.527, allocations: 443 kB / 0.6079 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.5271, allocations: 71.53 kB / 0.608 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.5272, allocations: 4 kB / 0.608 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.5273, allocations: 35.92 kB / 0.608 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.5273, allocations: 27.91 kB / 0.6081 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.5273, allocations: 4 kB / 0.6081 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.5284, allocations: 498.7 kB / 0.6085 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.5284, allocations: 8 kB / 0.6086 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.5285, allocations: 27.86 kB / 0.6086 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.529, allocations: 311.3 kB / 0.6089 GB, free: 6.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.529, allocations: 4 kB / 0.6089 GB, free: 6.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.529, allocations: 0 / 0.6089 GB, free: 6.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.529, allocations: 4 kB / 0.6089 GB, free: 6.473 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.0006056/0.5297, allocations: 404 kB / 0.6093 GB, free: 6.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5297, allocations: 8.031 kB / 0.6093 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.5298, allocations: 42.73 kB / 0.6093 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.5298, allocations: 5.125 kB / 0.6093 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5299, allocations: 170.9 kB / 0.6095 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5299, allocations: 8 kB / 0.6095 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.53, allocations: 8 kB / 0.6095 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5301, allocations: 65.67 kB / 0.6096 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5301, allocations: 4 kB / 0.6096 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5302, allocations: 7.984 kB / 0.6096 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5302, allocations: 4 kB / 0.6096 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.5303, allocations: 43.97 kB / 0.6096 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.5307, allocations: 385.7 kB / 0.61 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.5309, allocations: 58.56 kB / 0.61 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.5309, allocations: 24.84 kB / 0.6101 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/0.5329, allocations: 1.235 MB / 0.6113 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5329, allocations: 42.5 kB / 0.6113 GB, free: 3.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.533, allocations: 192 / 0.6113 GB, free: 3.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007159/0.5401, allocations: 0.6574 MB / 0.612 GB, free: 2.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5402, allocations: 51.41 kB / 0.612 GB, free: 2.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.5403, allocations: 105.8 kB / 0.6121 GB, free: 2.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.5403, allocations: 29.7 kB / 0.6121 GB, free: 2.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.5404, allocations: 88.33 kB / 0.6122 GB, free: 2.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.5404, allocations: 51.39 kB / 0.6123 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.5405, allocations: 49.52 kB / 0.6123 GB, free: 2.484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5407, allocations: 322.8 kB / 0.6126 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.5409, allocations: 79.94 kB / 0.6127 GB, free: 2.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5411, allocations: 106.5 kB / 0.6128 GB, free: 1.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.5415, allocations: 206.6 kB / 0.613 GB, free: 1.758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5415, allocations: 3.938 kB / 0.613 GB, free: 1.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005723/0.5421, allocations: 239.4 kB / 0.6132 GB, free: 1.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5422, allocations: 8 kB / 0.6132 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5422, allocations: 4.062 kB / 0.6132 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5422, allocations: 0 / 0.6132 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.5429, allocations: 55.88 kB / 0.6133 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5429, allocations: 0 / 0.6133 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.5435, allocations: 15.98 kB / 0.6133 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.5436, allocations: 15.98 kB / 0.6133 GB, free: 1.418 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.0001313/0.5437, allocations: 117.8 kB / 0.6134 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.5438, allocations: 8.656 kB / 0.6134 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.5446, allocations: 350.9 kB / 0.6138 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5446, allocations: 4 kB / 0.6138 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5447, allocations: 7.75 kB / 0.6138 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.5447, allocations: 0 / 0.6138 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5458, allocations: 0.7523 MB / 0.6145 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.5458, allocations: 3.984 kB / 0.6145 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.5465, allocations: 43.97 kB / 0.6146 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5465, allocations: 7.938 kB / 0.6146 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.5466, allocations: 3.984 kB / 0.6146 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5466, allocations: 8 kB / 0.6146 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5466, allocations: 3.938 kB / 0.6146 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.5472, allocations: 349.9 kB / 0.6149 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.5473, allocations: 105 kB / 0.615 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.5473, allocations: 4 kB / 0.615 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.5479, allocations: 11.98 kB / 0.615 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.548, allocations: 19.92 kB / 0.6151 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.548, allocations: 11.98 kB / 0.6151 GB, free: 15.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.5481, allocations: 79.28 kB / 0.6152 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5481, allocations: 0 / 0.6152 GB, free: 15.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.5486, allocations: 107.9 kB / 0.6153 GB, free: 15.31 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.001238/0.5498, allocations: 0.9958 MB / 0.6162 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005491/0.5504, allocations: 227.8 kB / 0.6164 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5504, allocations: 0 / 0.6164 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.5506, allocations: 111.9 kB / 0.6166 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.5511, allocations: 40.67 kB / 0.6166 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.5519, allocations: 333.5 kB / 0.6169 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5522, allocations: 0.6963 MB / 0.6176 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004688/0.5527, allocations: 69.61 kB / 0.6177 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.5529, allocations: 43.39 kB / 0.6177 GB, free: 12.72 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5529, allocations: 3.938 kB / 0.6177 GB, free: 12.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.578, allocations: 7.534 MB / 0.6251 GB, free: 5.219 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.184, allocations: 12.31 kB / 0.6251 GB, free: 5.211 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv","/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