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.0009672/0.0009673, allocations: 93.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002536, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1157, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4046/0.5203, allocations: 150.2 MB / 0.6185 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.522, allocations: 1.213 MB / 0.6197 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.5221, allocations: 0 / 0.6197 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.5223, allocations: 41.91 kB / 0.6198 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.5224, allocations: 23.78 kB / 0.6198 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.5236, allocations: 389.1 kB / 0.6202 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.5237, allocations: 67.55 kB / 0.6202 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.5238, allocations: 4 kB / 0.6202 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.5238, allocations: 31.91 kB / 0.6203 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.5239, allocations: 31.86 kB / 0.6203 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.5239, allocations: 4 kB / 0.6203 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.525, allocations: 0.4988 MB / 0.6208 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.525, allocations: 3.984 kB / 0.6208 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.525, allocations: 57.56 kB / 0.6208 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.5256, allocations: 319.2 kB / 0.6211 GB, free: 11.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5256, allocations: 4 kB / 0.6211 GB, free: 11.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5256, allocations: 4 kB / 0.6211 GB, free: 11.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.5256, allocations: 0 / 0.6211 GB, free: 11.58 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.0005017/0.5261, allocations: 395.9 kB / 0.6215 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5261, allocations: 12.88 kB / 0.6215 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.5262, allocations: 34.75 kB / 0.6216 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.5262, allocations: 5.125 kB / 0.6216 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5263, allocations: 167 kB / 0.6217 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.5263, allocations: 8 kB / 0.6217 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.5264, allocations: 11.91 kB / 0.6218 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.5265, allocations: 73.61 kB / 0.6218 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5265, allocations: 0 / 0.6218 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5265, allocations: 4 kB / 0.6218 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5266, allocations: 4 kB / 0.6218 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.5266, allocations: 43.97 kB / 0.6219 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.5271, allocations: 385.8 kB / 0.6222 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5272, allocations: 70.44 kB / 0.6223 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.5272, allocations: 24.84 kB / 0.6223 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.529, allocations: 1.217 MB / 0.6235 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.529, allocations: 38.5 kB / 0.6236 GB, free: 8.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.529, allocations: 0 / 0.6236 GB, free: 8.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007372/0.5364, allocations: 0.6532 MB / 0.6242 GB, free: 8.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5365, allocations: 51.41 kB / 0.6242 GB, free: 7.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.5366, allocations: 101.9 kB / 0.6243 GB, free: 7.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.5366, allocations: 29.7 kB / 0.6244 GB, free: 7.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.5367, allocations: 92.31 kB / 0.6245 GB, free: 7.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.5367, allocations: 47.3 kB / 0.6245 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.5368, allocations: 21.72 kB / 0.6245 GB, free: 7.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5369, allocations: 314.8 kB / 0.6248 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.5371, allocations: 87.94 kB / 0.6249 GB, free: 7.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.5374, allocations: 99.36 kB / 0.625 GB, free: 7.137 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.5379, allocations: 217.8 kB / 0.6252 GB, free: 6.918 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5379, allocations: 3.938 kB / 0.6252 GB, free: 6.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005907/0.5385, allocations: 241.4 kB / 0.6254 GB, free: 6.672 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5385, allocations: 8 kB / 0.6255 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5385, allocations: 0 / 0.6255 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.5385, allocations: 3.984 kB / 0.6255 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.5393, allocations: 55.94 kB / 0.6255 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5393, allocations: 8 kB / 0.6255 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.5398, allocations: 12 kB / 0.6255 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.5399, allocations: 19.97 kB / 0.6255 GB, free: 6.566 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.0001299/0.54, allocations: 113.8 kB / 0.6257 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.5401, allocations: 8.469 kB / 0.6257 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.5409, allocations: 356.8 kB / 0.626 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5409, allocations: 0 / 0.626 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5409, allocations: 0 / 0.626 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5409, allocations: 4 kB / 0.626 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5421, allocations: 0.7518 MB / 0.6267 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5421, allocations: 3.984 kB / 0.6267 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.5427, allocations: 39.97 kB / 0.6268 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5428, allocations: 0 / 0.6268 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.5428, allocations: 13.11 kB / 0.6268 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5428, allocations: 0 / 0.6268 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5428, allocations: 4.562 kB / 0.6268 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.5434, allocations: 366.2 kB / 0.6271 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5435, allocations: 101 kB / 0.6272 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.5436, allocations: 8 kB / 0.6273 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.5441, allocations: 4 kB / 0.6273 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.5442, allocations: 23.91 kB / 0.6273 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.5443, allocations: 11.98 kB / 0.6273 GB, free: 4.641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.5443, allocations: 87.78 kB / 0.6274 GB, free: 4.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5443, allocations: 0 / 0.6274 GB, free: 4.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.5448, allocations: 103.9 kB / 0.6275 GB, free: 4.453 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.001361/0.5462, allocations: 1.009 MB / 0.6285 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.5467, allocations: 203.8 kB / 0.6287 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5467, allocations: 0 / 0.6287 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.547, allocations: 124 kB / 0.6288 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.5474, allocations: 31.91 kB / 0.6288 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.5483, allocations: 374.1 kB / 0.6292 GB, free: 2.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.5485, allocations: 0.6968 MB / 0.6298 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004731/0.549, allocations: 65.61 kB / 0.6299 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.5492, allocations: 47.39 kB / 0.6299 GB, free: 1.832 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5492, allocations: 3.938 kB / 0.63 GB, free: 1.828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.5672, allocations: 7.218 MB / 0.637 GB, free: 10.71 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.5674, allocations: 188 kB / 0.6372 GB, free: 10.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.53, allocations: 4 kB / 0.6372 GB, free: 10.45 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