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.001326/0.001326, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, 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.2113/0.2113, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 70.61 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3645/0.477, allocations: 154.4 MB / 0.6196 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4785, allocations: 1.202 MB / 0.6208 GB, free: 7.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.4786, allocations: 0 / 0.6208 GB, free: 7.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.4788, allocations: 41.91 kB / 0.6208 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.4789, allocations: 23.78 kB / 0.6209 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.4801, allocations: 443.3 kB / 0.6213 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.4803, allocations: 67.55 kB / 0.6213 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.4803, allocations: 4 kB / 0.6213 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.4804, allocations: 39.91 kB / 0.6214 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.4804, allocations: 27.92 kB / 0.6214 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.4805, allocations: 0 / 0.6214 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.4814, allocations: 0.4987 MB / 0.6219 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.4815, allocations: 11.92 kB / 0.6219 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.4815, allocations: 27.86 kB / 0.6219 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.482, allocations: 307.4 kB / 0.6222 GB, free: 6.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.482, allocations: 0 / 0.6222 GB, free: 6.105 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.482, allocations: 0 / 0.6222 GB, free: 6.105 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.482, allocations: 0 / 0.6222 GB, free: 6.105 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.0005089/0.4825, allocations: 415.9 kB / 0.6226 GB, free: 5.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4826, allocations: 12.03 kB / 0.6226 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.4826, allocations: 38.67 kB / 0.6227 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.4826, allocations: 5.125 kB / 0.6227 GB, free: 5.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.4828, allocations: 174.9 kB / 0.6228 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.4828, allocations: 0 / 0.6228 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4828, allocations: 8 kB / 0.6229 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4829, allocations: 73.03 kB / 0.6229 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.483, allocations: 4 kB / 0.6229 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.483, allocations: 4 kB / 0.6229 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.483, allocations: 0 / 0.6229 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.4831, allocations: 47.91 kB / 0.623 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.4835, allocations: 381.8 kB / 0.6233 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4836, allocations: 70.47 kB / 0.6234 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.4836, allocations: 28.98 kB / 0.6234 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.4854, allocations: 1.213 MB / 0.6246 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4854, allocations: 42.5 kB / 0.6247 GB, free: 3.188 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 3.286e-06/0.4854, allocations: 3.984 kB / 0.6247 GB, free: 3.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007074/0.4925, allocations: 0.6532 MB / 0.6253 GB, free: 2.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4925, allocations: 63.33 kB / 0.6254 GB, free: 2.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.4926, allocations: 99.11 kB / 0.6255 GB, free: 2.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4927, allocations: 29.7 kB / 0.6255 GB, free: 2.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.4927, allocations: 92.31 kB / 0.6256 GB, free: 2.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.4928, allocations: 51.28 kB / 0.6256 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.4929, allocations: 53.58 kB / 0.6257 GB, free: 2.105 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.493, allocations: 310.8 kB / 0.626 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.4932, allocations: 79.94 kB / 0.626 GB, free: 1.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.4934, allocations: 106.5 kB / 0.6261 GB, free: 1.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.4938, allocations: 202.5 kB / 0.6263 GB, free: 1.395 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4939, allocations: 7.938 kB / 0.6263 GB, free: 1.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005364/0.4944, allocations: 237.5 kB / 0.6266 GB, free: 1.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4944, allocations: 7.984 kB / 0.6266 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4944, allocations: 4 kB / 0.6266 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4945, allocations: 0 / 0.6266 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.4952, allocations: 51.95 kB / 0.6266 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4952, allocations: 0 / 0.6266 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.4958, allocations: 20.92 kB / 0.6267 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.4958, allocations: 11.98 kB / 0.6267 GB, free: 1.055 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.000124/0.4959, allocations: 125.7 kB / 0.6268 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.496, allocations: 3.906 kB / 0.6268 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/0.4968, allocations: 352.5 kB / 0.6271 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4968, allocations: 1.062 kB / 0.6271 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4968, allocations: 0 / 0.6271 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4968, allocations: 4 kB / 0.6271 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4979, allocations: 0.7518 MB / 0.6279 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4979, allocations: 0 / 0.6279 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.4985, allocations: 43.91 kB / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4986, allocations: 3.938 kB / 0.6279 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4986, allocations: 12.86 kB / 0.6279 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4986, allocations: 0 / 0.6279 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4986, allocations: 3.938 kB / 0.6279 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.4992, allocations: 357.5 kB / 0.6283 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.4993, allocations: 101 kB / 0.6284 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4993, allocations: 4 kB / 0.6284 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.4999, allocations: 11.98 kB / 0.6284 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.5, allocations: 20.11 kB / 0.6284 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.5, allocations: 15.98 kB / 0.6284 GB, free: 15.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.653e-05/0.5001, allocations: 87.27 kB / 0.6285 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5001, allocations: 0 / 0.6285 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.5005, allocations: 107.9 kB / 0.6286 GB, free: 14.93 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.001111/0.5016, allocations: 0.9972 MB / 0.6296 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.5021, allocations: 222.1 kB / 0.6298 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5021, allocations: 0 / 0.6298 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.5024, allocations: 115.9 kB / 0.6299 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.5028, allocations: 37.38 kB / 0.6299 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.5037, allocations: 338.6 kB / 0.6303 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5039, allocations: 0.6926 MB / 0.6309 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004541/0.5044, allocations: 62.31 kB / 0.631 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.5046, allocations: 51.38 kB / 0.631 GB, free: 12.36 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5046, allocations: 4 kB / 0.631 GB, free: 12.35 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.5332, allocations: 7.585 MB / 0.6385 GB, free: 4.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.868, allocations: 8 kB / 0.6385 GB, free: 4.801 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches