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.001128/0.001127, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001024/0.001023, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.328/1.328, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2022/0.2022, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 69.36 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1323, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3961/0.5285, allocations: 151.5 MB / 0.6063 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.5299, allocations: 1.195 MB / 0.6074 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.53, allocations: 0 / 0.6074 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.5302, allocations: 41.8 kB / 0.6075 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.5303, allocations: 27.77 kB / 0.6075 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5315, allocations: 442.9 kB / 0.6079 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.5316, allocations: 67.61 kB / 0.608 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.5317, allocations: 7.984 kB / 0.608 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.5318, allocations: 31.88 kB / 0.608 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.5318, allocations: 27.91 kB / 0.6081 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.5319, allocations: 4 kB / 0.6081 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5329, allocations: 0.4909 MB / 0.6086 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.5329, allocations: 3.984 kB / 0.6086 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.5329, allocations: 27.88 kB / 0.6086 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.5334, allocations: 311.3 kB / 0.6089 GB, free: 6.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5334, allocations: 4 kB / 0.6089 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5335, allocations: 0 / 0.6089 GB, free: 6.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.5335, allocations: 0 / 0.6089 GB, free: 6.426 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.000517/0.534, allocations: 408 kB / 0.6093 GB, free: 5.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.534, allocations: 8.031 kB / 0.6093 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.5341, allocations: 38.73 kB / 0.6093 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.5341, allocations: 9.109 kB / 0.6093 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5342, allocations: 170.9 kB / 0.6095 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5342, allocations: 11.94 kB / 0.6095 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.5343, allocations: 4 kB / 0.6095 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.5344, allocations: 70.41 kB / 0.6096 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5344, allocations: 4 kB / 0.6096 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5345, allocations: 4 kB / 0.6096 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.5345, allocations: 4 kB / 0.6096 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.5346, allocations: 47.97 kB / 0.6096 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.5351, allocations: 381.8 kB / 0.61 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5352, allocations: 66.48 kB / 0.6101 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.5352, allocations: 20.86 kB / 0.6101 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.5372, allocations: 1.24 MB / 0.6113 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.5373, allocations: 39.38 kB / 0.6113 GB, free: 3.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.5373, allocations: 0 / 0.6113 GB, free: 3.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007359/0.5446, allocations: 0.6576 MB / 0.612 GB, free: 2.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5447, allocations: 59.39 kB / 0.612 GB, free: 2.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.5448, allocations: 97.86 kB / 0.6121 GB, free: 2.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.5448, allocations: 29.7 kB / 0.6121 GB, free: 2.625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.5449, allocations: 88.31 kB / 0.6122 GB, free: 2.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.545, allocations: 51.39 kB / 0.6123 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5451, allocations: 53.52 kB / 0.6123 GB, free: 2.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.5452, allocations: 314.8 kB / 0.6126 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.5454, allocations: 83.88 kB / 0.6127 GB, free: 2.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.5456, allocations: 107.5 kB / 0.6128 GB, free: 1.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.5461, allocations: 202.6 kB / 0.613 GB, free: 1.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5461, allocations: 3.938 kB / 0.613 GB, free: 1.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005527/0.5466, allocations: 245.5 kB / 0.6132 GB, free: 1.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5467, allocations: 4 kB / 0.6132 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5467, allocations: 0 / 0.6132 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5467, allocations: 4 kB / 0.6132 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.5474, allocations: 55.95 kB / 0.6133 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.5474, allocations: 0 / 0.6133 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.548, allocations: 23.48 kB / 0.6133 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.5481, allocations: 11.98 kB / 0.6133 GB, free: 1.363 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.0001228/0.5482, allocations: 113.8 kB / 0.6134 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.5483, allocations: 7.906 kB / 0.6135 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008063/0.5491, allocations: 357.3 kB / 0.6138 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.5491, allocations: 0 / 0.6138 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5491, allocations: 0 / 0.6138 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5491, allocations: 0 / 0.6138 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5502, allocations: 0.7562 MB / 0.6145 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5502, allocations: 0 / 0.6145 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.5509, allocations: 43.97 kB / 0.6146 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5509, allocations: 0 / 0.6146 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.551, allocations: 11.98 kB / 0.6146 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.551, allocations: 0 / 0.6146 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.551, allocations: 3.938 kB / 0.6146 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.5516, allocations: 361.8 kB / 0.6149 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.5517, allocations: 101 kB / 0.615 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.5517, allocations: 11.98 kB / 0.615 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.5523, allocations: 4 kB / 0.615 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.5524, allocations: 19.92 kB / 0.6151 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5524, allocations: 7.984 kB / 0.6151 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.536e-05/0.5525, allocations: 92.14 kB / 0.6152 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5525, allocations: 0 / 0.6152 GB, free: 15.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.553, allocations: 107.9 kB / 0.6153 GB, free: 15.25 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.001116/0.5541, allocations: 0.9855 MB / 0.6162 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.5546, allocations: 222.5 kB / 0.6164 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5547, allocations: 0 / 0.6164 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.5549, allocations: 123.9 kB / 0.6166 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.5553, allocations: 38.73 kB / 0.6166 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.5561, allocations: 326.5 kB / 0.6169 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5564, allocations: 0.7002 MB / 0.6176 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004537/0.5568, allocations: 74.23 kB / 0.6177 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.5571, allocations: 43.39 kB / 0.6177 GB, free: 12.66 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5571, allocations: 0 / 0.6177 GB, free: 12.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.5826, allocations: 7.541 MB / 0.6251 GB, free: 5.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.539, allocations: 8.484 kB / 0.6251 GB, free: 5.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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