Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 108.8 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 189.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2079/0.2079, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4156/0.5325, allocations: 151.4 MB / 0.6352 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009362/0.5419, allocations: 6.984 MB / 0.6421 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.5422, allocations: 3.938 kB / 0.6421 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.5427, allocations: 51.66 kB / 0.6421 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.5475, allocations: 1.436 MB / 0.6435 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.5479, allocations: 135.8 kB / 0.6436 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.5487, allocations: 395.8 kB / 0.644 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.5488, allocations: 21.67 kB / 0.644 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.5492, allocations: 171.3 kB / 0.6442 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.5496, allocations: 167.5 kB / 0.6444 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.5497, allocations: 11.98 kB / 0.6444 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.5524, allocations: 1.229 MB / 0.6456 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.5525, allocations: 43.81 kB / 0.6456 GB, free: 9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.5527, allocations: 111.5 kB / 0.6457 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.5552, allocations: 0.9629 MB / 0.6467 GB, free: 7.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5552, allocations: 0 / 0.6467 GB, free: 7.926 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5552, allocations: 0 / 0.6467 GB, free: 7.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.5552, allocations: 0 / 0.6467 GB, free: 7.926 MB / 494.1 MB 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.001582/0.5568, allocations: 0.7101 MB / 0.6474 GB, free: 7.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5569, allocations: 15.88 kB / 0.6474 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.786e-05/0.5569, allocations: 62.73 kB / 0.6474 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007499/0.5644, allocations: 0.594 MB / 0.648 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.565, allocations: 260.1 kB / 0.6483 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.5651, allocations: 131.3 kB / 0.6484 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.5652, allocations: 24 kB / 0.6484 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5664, allocations: 0.5602 MB / 0.649 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5665, allocations: 0 / 0.649 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.5665, allocations: 8 kB / 0.649 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.5666, allocations: 7.938 kB / 0.649 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.5681, allocations: 0.6299 MB / 0.6496 GB, free: 4.777 MB / 494.1 MB 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.00211/0.5702, allocations: 1.653 MB / 0.6512 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.5705, allocations: 154 kB / 0.6514 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.5707, allocations: 84.8 kB / 0.6514 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.5721, allocations: 1.307 MB / 0.6527 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5721, allocations: 34.56 kB / 0.6527 GB, free: 1.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.5721, allocations: 0 / 0.6527 GB, free: 1.203 MB / 494.1 MB 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=18): time 0.001042/0.5732, allocations: 333.1 kB / 0.6531 GB, free: 0.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.5732, allocations: 59.34 kB / 0.6531 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5734, allocations: 191.3 kB / 0.6533 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.5734, allocations: 25.7 kB / 0.6533 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5735, allocations: 191.1 kB / 0.6535 GB, free: 392 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.5736, allocations: 67.09 kB / 0.6536 GB, free: 324 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5737, allocations: 97.95 kB / 0.6537 GB, free: 220 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5738, allocations: 318.8 kB / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.574, allocations: 68.7 kB / 0.654 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5743, allocations: 267.8 kB / 0.6543 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.5747, allocations: 362.9 kB / 0.6546 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5747, allocations: 8 kB / 0.6546 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006175/0.5754, allocations: 372.7 kB / 0.655 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5754, allocations: 8 kB / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5754, allocations: 8.75 kB / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.5754, allocations: 11.94 kB / 0.655 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.5758, allocations: 127.8 kB / 0.6551 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003732/0.5762, allocations: 0.6021 MB / 0.6557 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.5765, allocations: 47.53 kB / 0.6558 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.5765, allocations: 36 kB / 0.6558 GB, free: 13.79 MB / 0.4981 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.5767, allocations: 157.5 kB / 0.656 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.5767, allocations: 27.73 kB / 0.656 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.5774, allocations: 288 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5774, allocations: 4 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5774, allocations: 0 / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5774, allocations: 3.984 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.5781, allocations: 0.5138 MB / 0.6568 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5781, allocations: 4 kB / 0.6568 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.5783, allocations: 55.91 kB / 0.6568 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.5783, allocations: 7.984 kB / 0.6568 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5784, allocations: 4 kB / 0.6568 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/0.5787, allocations: 0.5978 MB / 0.6574 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5787, allocations: 0 / 0.6574 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.579, allocations: 274.7 kB / 0.6577 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5792, allocations: 116.8 kB / 0.6578 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5792, allocations: 7.531 kB / 0.6578 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.5795, allocations: 15.98 kB / 0.6578 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.5795, allocations: 11.98 kB / 0.6578 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.5795, allocations: 16 kB / 0.6578 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001103/0.5797, allocations: 136.2 kB / 0.658 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5797, allocations: 8 kB / 0.658 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000656/0.5803, allocations: 184.1 kB / 0.6582 GB, free: 11.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001294/0.5816, allocations: 1.027 MB / 0.6592 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.5821, allocations: 224.8 kB / 0.6594 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5821, allocations: 0 / 0.6594 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.5823, allocations: 79.89 kB / 0.6595 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.5829, allocations: 66.39 kB / 0.6595 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.5882, allocations: 4.085 MB / 0.6635 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5885, allocations: 0.7323 MB / 0.6642 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003841/0.5889, allocations: 104.5 kB / 0.6643 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.5891, allocations: 75.41 kB / 0.6644 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5891, allocations: 0 / 0.6644 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.618, allocations: 8.501 MB / 0.6727 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.03, allocations: 12.05 kB / 0.6727 GB, free: 11.98 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches