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.00114/0.00114, allocations: 118.8 kB / 17.79 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.001213/0.001213, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 79.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3993, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1784/0.5778, allocations: 153 MB / 0.68 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006373/0.5842, allocations: 5.154 MB / 0.685 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.5844, allocations: 0 / 0.685 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.5848, allocations: 59.58 kB / 0.6851 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.5884, allocations: 1.199 MB / 0.6862 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.5888, allocations: 140.3 kB / 0.6864 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006045/0.5894, allocations: 394.1 kB / 0.6867 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.5894, allocations: 13.67 kB / 0.6867 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.5898, allocations: 167.4 kB / 0.6869 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.5901, allocations: 179.4 kB / 0.6871 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.5902, allocations: 8 kB / 0.6871 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.5927, allocations: 1.021 MB / 0.6881 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.5928, allocations: 43.88 kB / 0.6881 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.5931, allocations: 111.5 kB / 0.6882 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.5957, allocations: 0.8498 MB / 0.6891 GB, free: 14.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.5958, allocations: 0 / 0.6891 GB, free: 14.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5958, allocations: 4 kB / 0.6891 GB, free: 14.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5958, allocations: 0 / 0.6891 GB, free: 14.88 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.001798/0.5976, allocations: 0.6789 MB / 0.6897 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5976, allocations: 12.02 kB / 0.6897 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.156e-05/0.5977, allocations: 66.67 kB / 0.6898 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00781/0.6055, allocations: 0.6053 MB / 0.6904 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.6062, allocations: 263.2 kB / 0.6906 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.6063, allocations: 131.4 kB / 0.6908 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.6065, allocations: 24 kB / 0.6908 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.6077, allocations: 0.5633 MB / 0.6913 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6078, allocations: 0 / 0.6913 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.6079, allocations: 8 kB / 0.6914 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.6079, allocations: 11.94 kB / 0.6914 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.6093, allocations: 0.6377 MB / 0.692 GB, free: 11.73 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.002238/0.6115, allocations: 1.714 MB / 0.6937 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.6119, allocations: 154.5 kB / 0.6938 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.612, allocations: 75.06 kB / 0.6939 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.6128, allocations: 0.7121 MB / 0.6946 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.6128, allocations: 30.56 kB / 0.6946 GB, free: 8.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.6128, allocations: 0 / 0.6946 GB, free: 8.781 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.001094/0.6139, allocations: 327.5 kB / 0.6949 GB, free: 8.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.614, allocations: 55.41 kB / 0.695 GB, free: 8.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.6142, allocations: 191.8 kB / 0.6952 GB, free: 8.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.6142, allocations: 33.7 kB / 0.6952 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6143, allocations: 187.2 kB / 0.6954 GB, free: 7.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.6144, allocations: 59.2 kB / 0.6954 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.6146, allocations: 93.95 kB / 0.6955 GB, free: 7.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6147, allocations: 330.8 kB / 0.6958 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.6149, allocations: 68.7 kB / 0.6959 GB, free: 7.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.6151, allocations: 256 kB / 0.6961 GB, free: 7.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.6156, allocations: 366.2 kB / 0.6965 GB, free: 6.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.6156, allocations: 4 kB / 0.6965 GB, free: 6.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006793/0.6163, allocations: 372.6 kB / 0.6968 GB, free: 6.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6164, allocations: 11.94 kB / 0.6969 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.6164, allocations: 11.94 kB / 0.6969 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.6164, allocations: 8 kB / 0.6969 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.6169, allocations: 135.8 kB / 0.697 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003869/0.6173, allocations: 0.6018 MB / 0.6976 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.6175, allocations: 47.58 kB / 0.6976 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.6176, allocations: 44 kB / 0.6977 GB, free: 5.367 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.0001457/0.6178, allocations: 149.5 kB / 0.6978 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.6178, allocations: 15.81 kB / 0.6978 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.6186, allocations: 433 kB / 0.6982 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6187, allocations: 0 / 0.6982 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6187, allocations: 4 kB / 0.6983 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6187, allocations: 3.984 kB / 0.6983 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.6196, allocations: 0.6265 MB / 0.6989 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6196, allocations: 4.219 kB / 0.6989 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.6198, allocations: 59.91 kB / 0.6989 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6198, allocations: 4 kB / 0.6989 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.6199, allocations: 15.92 kB / 0.6989 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.6202, allocations: 0.5938 MB / 0.6995 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6202, allocations: 4 kB / 0.6995 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.6206, allocations: 293.3 kB / 0.6998 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6207, allocations: 108.8 kB / 0.6999 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.6208, allocations: 7.984 kB / 0.6999 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.6211, allocations: 12 kB / 0.6999 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.6211, allocations: 15.92 kB / 0.6999 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.6212, allocations: 27.98 kB / 0.7 GB, free: 2.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001382/0.6213, allocations: 136.2 kB / 0.7001 GB, free: 2.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6213, allocations: 0 / 0.7001 GB, free: 2.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000703/0.622, allocations: 155.8 kB / 0.7003 GB, free: 2.523 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.001145/0.6232, allocations: 0.9703 MB / 0.7012 GB, free: 1.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.6237, allocations: 228.4 kB / 0.7014 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6237, allocations: 0 / 0.7014 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.6239, allocations: 83.83 kB / 0.7015 GB, free: 1.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.6245, allocations: 69.23 kB / 0.7016 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.6281, allocations: 2.86 MB / 0.7044 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.6284, allocations: 0.7245 MB / 0.7051 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006611/0.6291, allocations: 381.1 kB / 0.7054 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.6294, allocations: 91.36 kB / 0.7055 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.6294, allocations: 0 / 0.7055 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.6579, allocations: 7.497 MB / 0.7128 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.87, allocations: 3.547 kB / 0.7128 GB, free: 5.418 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