Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_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.001549/0.001549, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002334/0.002334, allocations: 205.9 kB / 18.74 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 76.11 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3455, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1986/0.5442, allocations: 153 MB / 0.6801 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007326/0.5516, allocations: 5.147 MB / 0.6851 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.5518, allocations: 0 / 0.6851 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.5522, allocations: 59.58 kB / 0.6852 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.5564, allocations: 1.193 MB / 0.6863 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.5568, allocations: 146.9 kB / 0.6865 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00068/0.5575, allocations: 390.1 kB / 0.6868 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.5576, allocations: 9.688 kB / 0.6869 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.5579, allocations: 175.4 kB / 0.687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.5582, allocations: 171.4 kB / 0.6872 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.5583, allocations: 8 kB / 0.6872 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.5609, allocations: 1.033 MB / 0.6882 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.561, allocations: 35.89 kB / 0.6882 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.5612, allocations: 111.5 kB / 0.6883 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.563, allocations: 0.8529 MB / 0.6892 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5631, allocations: 4 kB / 0.6892 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5631, allocations: 0 / 0.6892 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5631, allocations: 0 / 0.6892 GB, free: 14.75 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001588/0.5647, allocations: 0.6931 MB / 0.6899 GB, free: 14.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.5647, allocations: 12.03 kB / 0.6899 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.5648, allocations: 70.59 kB / 0.6899 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007525/0.5724, allocations: 0.6054 MB / 0.6905 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.573, allocations: 271.2 kB / 0.6908 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.5732, allocations: 123.4 kB / 0.6909 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.5733, allocations: 20 kB / 0.6909 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.5745, allocations: 0.5634 MB / 0.6915 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5746, allocations: 4 kB / 0.6915 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.5746, allocations: 11.94 kB / 0.6915 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.5747, allocations: 8 kB / 0.6915 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.5762, allocations: 0.6299 MB / 0.6921 GB, free: 11.59 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.5786, allocations: 1.714 MB / 0.6938 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.579, allocations: 154.5 kB / 0.6939 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.5791, allocations: 72.86 kB / 0.694 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009195/0.5801, allocations: 0.7082 MB / 0.6947 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5801, allocations: 30.56 kB / 0.6947 GB, free: 8.645 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.5801, allocations: 4 kB / 0.6947 GB, free: 8.641 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001247/0.5814, allocations: 335.3 kB / 0.695 GB, free: 8.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.5814, allocations: 51.41 kB / 0.6951 GB, free: 8.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.5817, allocations: 195.9 kB / 0.6953 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5817, allocations: 29.7 kB / 0.6953 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5819, allocations: 195.7 kB / 0.6955 GB, free: 7.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.5819, allocations: 63.47 kB / 0.6956 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.5821, allocations: 98.02 kB / 0.6957 GB, free: 7.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5823, allocations: 330.8 kB / 0.696 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5824, allocations: 68.7 kB / 0.696 GB, free: 7.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.5828, allocations: 260.5 kB / 0.6963 GB, free: 6.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.5833, allocations: 364.3 kB / 0.6966 GB, free: 6.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5833, allocations: 0 / 0.6966 GB, free: 6.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006973/0.584, allocations: 381.3 kB / 0.697 GB, free: 6.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.584, allocations: 15.88 kB / 0.697 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.5841, allocations: 8 kB / 0.697 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.5841, allocations: 12 kB / 0.697 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.5845, allocations: 127.8 kB / 0.6971 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004516/0.585, allocations: 0.6019 MB / 0.6977 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.5852, allocations: 43.73 kB / 0.6978 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.5853, allocations: 39.98 kB / 0.6978 GB, free: 5.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.5855, allocations: 157.5 kB / 0.698 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.5856, allocations: 19.91 kB / 0.698 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.5864, allocations: 423.5 kB / 0.6984 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.5865, allocations: 0 / 0.6984 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5865, allocations: 8 kB / 0.6984 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5865, allocations: 0 / 0.6984 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.5875, allocations: 0.6306 MB / 0.699 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5875, allocations: 4.031 kB / 0.699 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.5877, allocations: 63.89 kB / 0.6991 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5877, allocations: 4 kB / 0.6991 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5878, allocations: 7.938 kB / 0.6991 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003791/0.5881, allocations: 0.5977 MB / 0.6997 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5882, allocations: 4.031 kB / 0.6997 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.5886, allocations: 293.3 kB / 0.7 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5887, allocations: 116.9 kB / 0.7001 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.5887, allocations: 7.953 kB / 0.7001 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.589, allocations: 11.98 kB / 0.7001 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.589, allocations: 15.92 kB / 0.7001 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.5891, allocations: 27.98 kB / 0.7001 GB, free: 2.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001438/0.5892, allocations: 140.2 kB / 0.7003 GB, free: 2.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5893, allocations: 3.938 kB / 0.7003 GB, free: 2.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006782/0.5899, allocations: 151.7 kB / 0.7004 GB, free: 2.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.5912, allocations: 0.9653 MB / 0.7014 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005894/0.5918, allocations: 236.5 kB / 0.7016 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5918, allocations: 0 / 0.7016 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.592, allocations: 83.83 kB / 0.7017 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.5926, allocations: 65.48 kB / 0.7017 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.5967, allocations: 2.865 MB / 0.7045 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.5971, allocations: 0.7245 MB / 0.7052 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007127/0.5979, allocations: 385 kB / 0.7056 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.5981, allocations: 95.36 kB / 0.7057 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.5981, allocations: 0 / 0.7057 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.6325, allocations: 7.431 MB / 0.7129 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.7, allocations: 11.11 kB / 0.713 GB, free: 5.293 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches