Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 70.5 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4489/0.5629, allocations: 154.4 MB / 0.6196 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.5644, allocations: 1.193 MB / 0.6208 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.5644, allocations: 0 / 0.6208 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.5646, allocations: 37.94 kB / 0.6208 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.59e-05/0.5647, allocations: 27.77 kB / 0.6209 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.5658, allocations: 443.3 kB / 0.6213 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.5659, allocations: 71.55 kB / 0.6213 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.5659, allocations: 7.984 kB / 0.6214 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.566, allocations: 31.92 kB / 0.6214 GB, free: 7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/0.5661, allocations: 27.92 kB / 0.6214 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.5661, allocations: 0 / 0.6214 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009949/0.5671, allocations: 0.5026 MB / 0.6219 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.5671, allocations: 7.938 kB / 0.6219 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.5672, allocations: 27.88 kB / 0.6219 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.5676, allocations: 307.4 kB / 0.6222 GB, free: 6.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5677, allocations: 4 kB / 0.6222 GB, free: 6.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5677, allocations: 0 / 0.6222 GB, free: 6.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.5677, allocations: 0 / 0.6222 GB, free: 6.129 MB / 462.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.0004974/0.5682, allocations: 419.8 kB / 0.6226 GB, free: 5.672 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5682, allocations: 8.031 kB / 0.6226 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.5683, allocations: 37.88 kB / 0.6227 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.5683, allocations: 5.109 kB / 0.6227 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5684, allocations: 178.9 kB / 0.6228 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.5684, allocations: 0 / 0.6228 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5684, allocations: 4 kB / 0.6229 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.5686, allocations: 69.67 kB / 0.6229 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5686, allocations: 4 kB / 0.6229 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5686, allocations: 4 kB / 0.6229 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5686, allocations: 3.938 kB / 0.6229 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.5687, allocations: 47.97 kB / 0.623 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.5692, allocations: 385.8 kB / 0.6233 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.5693, allocations: 66.5 kB / 0.6234 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.5693, allocations: 20.84 kB / 0.6234 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.5712, allocations: 1.225 MB / 0.6246 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.5712, allocations: 38.5 kB / 0.6247 GB, free: 3.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.5712, allocations: 0 / 0.6247 GB, free: 3.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007253/0.5785, allocations: 0.665 MB / 0.6253 GB, free: 2.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.5785, allocations: 51.41 kB / 0.6254 GB, free: 2.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.5786, allocations: 105.8 kB / 0.6255 GB, free: 2.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.5786, allocations: 25.7 kB / 0.6255 GB, free: 2.332 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.5787, allocations: 88.33 kB / 0.6256 GB, free: 2.242 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.5787, allocations: 47.3 kB / 0.6256 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5788, allocations: 45.58 kB / 0.6257 GB, free: 2.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5789, allocations: 326.8 kB / 0.626 GB, free: 1.816 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.5792, allocations: 75.95 kB / 0.626 GB, free: 1.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.5794, allocations: 106.5 kB / 0.6261 GB, free: 1.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.5798, allocations: 205.8 kB / 0.6263 GB, free: 1.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5798, allocations: 3.938 kB / 0.6263 GB, free: 1.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005533/0.5804, allocations: 241.5 kB / 0.6266 GB, free: 1.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5804, allocations: 10.5 kB / 0.6266 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5804, allocations: 0 / 0.6266 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5804, allocations: 0 / 0.6266 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.5812, allocations: 55.94 kB / 0.6266 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5812, allocations: 0 / 0.6266 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.5818, allocations: 18.19 kB / 0.6267 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.5818, allocations: 15.97 kB / 0.6267 GB, free: 1.082 MB / 462.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.0001163/0.582, allocations: 125.7 kB / 0.6268 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.582, allocations: 7.906 kB / 0.6268 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008/0.5828, allocations: 344.5 kB / 0.6271 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5828, allocations: 4 kB / 0.6271 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5829, allocations: 0 / 0.6271 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5829, allocations: 3.984 kB / 0.6271 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5839, allocations: 0.748 MB / 0.6279 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5839, allocations: 0 / 0.6279 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/0.5846, allocations: 47.89 kB / 0.6279 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5846, allocations: 4 kB / 0.6279 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.5847, allocations: 11.92 kB / 0.6279 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.5847, allocations: 5.422 kB / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5847, allocations: 3.938 kB / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.5853, allocations: 361.5 kB / 0.6283 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/0.5854, allocations: 105 kB / 0.6284 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.5854, allocations: 0 / 0.6284 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.586, allocations: 12 kB / 0.6284 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.5861, allocations: 15.91 kB / 0.6284 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.5861, allocations: 17.17 kB / 0.6284 GB, free: 15.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.5862, allocations: 79.28 kB / 0.6285 GB, free: 15.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5862, allocations: 0 / 0.6285 GB, free: 15.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004291/0.5866, allocations: 107.9 kB / 0.6286 GB, free: 14.96 MB / 478.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.5879, allocations: 0.9971 MB / 0.6296 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.5884, allocations: 214.6 kB / 0.6298 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5884, allocations: 0 / 0.6298 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.5887, allocations: 119.9 kB / 0.6299 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.5892, allocations: 37.08 kB / 0.6299 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.59, allocations: 342.6 kB / 0.6303 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.5903, allocations: 0.6926 MB / 0.6309 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.5908, allocations: 69.17 kB / 0.631 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.591, allocations: 43.39 kB / 0.631 GB, free: 12.38 MB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.591, allocations: 0 / 0.631 GB, free: 12.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.6214, allocations: 7.593 MB / 0.6385 GB, free: 4.828 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.53, allocations: 7.188 kB / 0.6385 GB, free: 4.824 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches