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.001278/0.001278, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001284, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 79.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3303, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1873/0.5176, allocations: 154.4 MB / 0.6814 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.5192, allocations: 1.195 MB / 0.6825 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.5193, allocations: 0 / 0.6825 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.5195, allocations: 51.72 kB / 0.6826 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.5196, allocations: 19.8 kB / 0.6826 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.5208, allocations: 441.8 kB / 0.683 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.521, allocations: 67.61 kB / 0.6831 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.521, allocations: 4 kB / 0.6831 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-05/0.5211, allocations: 35.91 kB / 0.6831 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.5212, allocations: 27.86 kB / 0.6832 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.5212, allocations: 8 kB / 0.6832 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5223, allocations: 0.4946 MB / 0.6836 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.5224, allocations: 7.984 kB / 0.6837 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.5224, allocations: 27.86 kB / 0.6837 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.523, allocations: 319 kB / 0.684 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.523, allocations: 0 / 0.684 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.523, allocations: 0 / 0.684 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5231, allocations: 3.938 kB / 0.684 GB, free: 4.039 MB / 0.5294 GB 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.0006344/0.5237, allocations: 414.8 kB / 0.6844 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5237, allocations: 12.03 kB / 0.6844 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.5238, allocations: 30.75 kB / 0.6844 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.5238, allocations: 12.69 kB / 0.6844 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.524, allocations: 170.9 kB / 0.6846 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.524, allocations: 4 kB / 0.6846 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.524, allocations: 8 kB / 0.6846 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.5242, allocations: 76.84 kB / 0.6847 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5242, allocations: 0 / 0.6847 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5242, allocations: 3.984 kB / 0.6847 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.5243, allocations: 8 kB / 0.6847 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.5244, allocations: 47.91 kB / 0.6847 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.5249, allocations: 377.9 kB / 0.6851 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.525, allocations: 66.53 kB / 0.6852 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.5251, allocations: 20.86 kB / 0.6852 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/0.527, allocations: 1.221 MB / 0.6864 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5271, allocations: 34.69 kB / 0.6864 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.5271, allocations: 4 kB / 0.6864 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006632/0.5337, allocations: 0.6532 MB / 0.687 GB, free: 476 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.5338, allocations: 55.53 kB / 0.6871 GB, free: 408 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.5339, allocations: 101.9 kB / 0.6872 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.534, allocations: 25.7 kB / 0.6872 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.5341, allocations: 100.3 kB / 0.6873 GB, free: 160 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.5341, allocations: 47.58 kB / 0.6874 GB, free: 112 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.5343, allocations: 49.67 kB / 0.6874 GB, free: 56 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5344, allocations: 323.3 kB / 0.6877 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.5346, allocations: 83.88 kB / 0.6878 GB, free: 15.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.5349, allocations: 114.5 kB / 0.6879 GB, free: 15.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.5353, allocations: 194.5 kB / 0.6881 GB, free: 15.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5354, allocations: 4 kB / 0.6881 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005774/0.5359, allocations: 245.5 kB / 0.6883 GB, free: 15.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.536, allocations: 7.938 kB / 0.6883 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.536, allocations: 3.938 kB / 0.6883 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.536, allocations: 4 kB / 0.6883 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.5367, allocations: 51.95 kB / 0.6884 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5367, allocations: 0 / 0.6884 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.5372, allocations: 15.98 kB / 0.6884 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.5373, allocations: 19.98 kB / 0.6884 GB, free: 14.98 MB / 0.545 GB 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.0001379/0.5374, allocations: 121.7 kB / 0.6885 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.5375, allocations: 7.953 kB / 0.6886 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.5383, allocations: 341.5 kB / 0.6889 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.5383, allocations: 0 / 0.6889 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5383, allocations: 0 / 0.6889 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5383, allocations: 3.938 kB / 0.6889 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.5395, allocations: 0.7633 MB / 0.6896 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5395, allocations: 0 / 0.6896 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.5402, allocations: 47.89 kB / 0.6897 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5402, allocations: 0 / 0.6897 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.5402, allocations: 12 kB / 0.6897 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5402, allocations: 3.938 kB / 0.6897 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5402, allocations: 0 / 0.6897 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.5408, allocations: 358.3 kB / 0.69 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.541, allocations: 105 kB / 0.6901 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.541, allocations: 7.984 kB / 0.6901 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.5415, allocations: 15.94 kB / 0.6902 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.5416, allocations: 19.97 kB / 0.6902 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.5416, allocations: 8 kB / 0.6902 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.5417, allocations: 83.27 kB / 0.6903 GB, free: 12.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5417, allocations: 0 / 0.6903 GB, free: 12.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004607/0.5422, allocations: 103.7 kB / 0.6904 GB, free: 12.86 MB / 0.545 GB 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.001265/0.5434, allocations: 0.997 MB / 0.6913 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.544, allocations: 221.3 kB / 0.6915 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.544, allocations: 0 / 0.6915 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.5443, allocations: 115.9 kB / 0.6917 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.5447, allocations: 35.89 kB / 0.6917 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.5456, allocations: 329.5 kB / 0.692 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.546, allocations: 0.6933 MB / 0.6927 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003448/0.5464, allocations: 64.75 kB / 0.6927 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.5466, allocations: 51.38 kB / 0.6928 GB, free: 10.28 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.5466, allocations: 0 / 0.6928 GB, free: 10.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.5756, allocations: 7.609 MB / 0.7002 GB, free: 2.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/9.108, allocations: 4.875 kB / 0.7002 GB, free: 2.734 MB / 0.545 GB (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