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.001229/0.001229, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.522/1.522, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3508/0.3508, allocations: 43.5 MB / 313.5 MB, free: 8.336 MB / 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.001341/0.001341, allocations: 59.91 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 57.79 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4084/0.5408, allocations: 149.1 MB / 0.5752 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007091/0.548, allocations: 7.163 MB / 0.5822 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.5481, allocations: 4 kB / 0.5822 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.5484, allocations: 47.72 kB / 0.5823 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.551, allocations: 1.246 MB / 0.5835 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.5513, allocations: 135.5 kB / 0.5836 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.5517, allocations: 474 kB / 0.5841 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.5518, allocations: 16.34 kB / 0.5841 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.552, allocations: 171.3 kB / 0.5842 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.5523, allocations: 175.4 kB / 0.5844 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.5523, allocations: 8 kB / 0.5844 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.554, allocations: 1.162 MB / 0.5856 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.5541, allocations: 51.73 kB / 0.5856 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.5542, allocations: 103.5 kB / 0.5857 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.5554, allocations: 0.9706 MB / 0.5867 GB, free: 11.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5554, allocations: 0 / 0.5867 GB, free: 11.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.5554, allocations: 0 / 0.5867 GB, free: 11.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.5554, allocations: 0 / 0.5867 GB, free: 11.12 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001151/0.5566, allocations: 0.7178 MB / 0.5874 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5566, allocations: 12.03 kB / 0.5874 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.026e-05/0.5567, allocations: 67.28 kB / 0.5874 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006966/0.5637, allocations: 0.5913 MB / 0.588 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.564, allocations: 264.5 kB / 0.5883 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.5642, allocations: 127.3 kB / 0.5884 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.5643, allocations: 24 kB / 0.5884 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5653, allocations: 0.5595 MB / 0.589 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.5654, allocations: 0 / 0.589 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.5654, allocations: 8 kB / 0.589 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5655, allocations: 8 kB / 0.589 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.5668, allocations: 0.6309 MB / 0.5896 GB, free: 7.988 MB / 462.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.001798/0.5686, allocations: 1.648 MB / 0.5912 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.5689, allocations: 154.5 kB / 0.5913 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.5691, allocations: 72.88 kB / 0.5914 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.5703, allocations: 1.314 MB / 0.5927 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5704, allocations: 38.56 kB / 0.5927 GB, free: 4.438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.5704, allocations: 0 / 0.5927 GB, free: 4.438 MB / 462.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.0009657/0.5714, allocations: 333.7 kB / 0.593 GB, free: 4.113 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5714, allocations: 59.41 kB / 0.5931 GB, free: 4.043 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.5716, allocations: 191.3 kB / 0.5933 GB, free: 3.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5716, allocations: 25.7 kB / 0.5933 GB, free: 3.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.5717, allocations: 187.2 kB / 0.5935 GB, free: 3.625 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.5718, allocations: 67.09 kB / 0.5936 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.5719, allocations: 89.95 kB / 0.5936 GB, free: 3.465 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.572, allocations: 326.8 kB / 0.594 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5722, allocations: 68.64 kB / 0.594 GB, free: 3.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.5725, allocations: 267.8 kB / 0.5943 GB, free: 2.715 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.573, allocations: 372.8 kB / 0.5946 GB, free: 2.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.573, allocations: 4 kB / 0.5946 GB, free: 2.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005676/0.5736, allocations: 361.6 kB / 0.595 GB, free: 1.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5736, allocations: 8 kB / 0.595 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5736, allocations: 12.09 kB / 0.595 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5737, allocations: 15.88 kB / 0.595 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.574, allocations: 123.9 kB / 0.5951 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/0.5744, allocations: 0.6064 MB / 0.5957 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.5746, allocations: 39.53 kB / 0.5958 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.5747, allocations: 44 kB / 0.5958 GB, free: 1.027 MB / 462.1 MB 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.0001288/0.5748, allocations: 157.7 kB / 0.5959 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.5749, allocations: 19.81 kB / 0.596 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.5756, allocations: 299.2 kB / 0.5963 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.5757, allocations: 3.984 kB / 0.5963 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5757, allocations: 0 / 0.5963 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5757, allocations: 4 kB / 0.5963 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000744/0.5764, allocations: 0.5275 MB / 0.5968 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5764, allocations: 0 / 0.5968 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.5767, allocations: 55.97 kB / 0.5968 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5767, allocations: 0 / 0.5968 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5767, allocations: 9.047 kB / 0.5968 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003577/0.5771, allocations: 0.5992 MB / 0.5974 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.5771, allocations: 8.25 kB / 0.5974 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.5775, allocations: 262.7 kB / 0.5977 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5776, allocations: 112.8 kB / 0.5978 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.5777, allocations: 19.84 kB / 0.5978 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5779, allocations: 10.19 kB / 0.5978 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.5779, allocations: 15.97 kB / 0.5978 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.578, allocations: 12 kB / 0.5978 GB, free: 14.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.5781, allocations: 140.2 kB / 0.598 GB, free: 14.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5781, allocations: 3.938 kB / 0.598 GB, free: 14.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008076/0.5789, allocations: 188 kB / 0.5982 GB, free: 14.46 MB / 478.1 MB 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.001449/0.5804, allocations: 1.023 MB / 0.5992 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.5809, allocations: 224.5 kB / 0.5994 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5809, allocations: 0.5625 kB / 0.5994 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.5811, allocations: 83.89 kB / 0.5995 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.5816, allocations: 55.95 kB / 0.5995 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.5867, allocations: 4.164 MB / 0.6036 GB, free: 8.617 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.587, allocations: 0.7285 MB / 0.6043 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005501/0.5876, allocations: 104.5 kB / 0.6044 GB, free: 7.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5878, allocations: 79.39 kB / 0.6045 GB, free: 7.684 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5878, allocations: 0 / 0.6045 GB, free: 7.684 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.6077, allocations: 8.104 MB / 0.6124 GB, free: 15.63 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.608, allocations: 274.8 kB / 0.6126 GB, free: 15.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.563, allocations: 0 / 0.6126 GB, free: 15.26 MB / 494.1 MB (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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches