Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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.00125/0.00125, allocations: 109.1 kB / 17.33 MB, free: 6.023 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.001384/0.001384, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 72.41 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.131, allocations: 60.81 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4553/0.5863, allocations: 148 MB / 0.6024 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.5922, allocations: 5.128 MB / 0.6074 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.5923, allocations: 4 kB / 0.6074 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.5927, allocations: 43.73 kB / 0.6074 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.5959, allocations: 1.098 MB / 0.6085 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.5962, allocations: 138.9 kB / 0.6086 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.5967, allocations: 394.1 kB / 0.609 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.5968, allocations: 17.62 kB / 0.609 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.5972, allocations: 171.3 kB / 0.6092 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.5975, allocations: 179.5 kB / 0.6094 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.5976, allocations: 8 kB / 0.6094 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.5993, allocations: 1.01 MB / 0.6104 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.5994, allocations: 47.81 kB / 0.6104 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.5996, allocations: 115.5 kB / 0.6105 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.6014, allocations: 0.8576 MB / 0.6113 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6015, allocations: 3.984 kB / 0.6114 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6015, allocations: 0 / 0.6114 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.6015, allocations: 0 / 0.6114 GB, free: 3.824 MB / 446.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.001534/0.603, allocations: 0.6796 MB / 0.612 GB, free: 3.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6031, allocations: 12.03 kB / 0.612 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.225e-05/0.6032, allocations: 62.73 kB / 0.6121 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007447/0.6106, allocations: 0.5858 MB / 0.6127 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.6111, allocations: 269.4 kB / 0.6129 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6112, allocations: 127.4 kB / 0.613 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.6113, allocations: 20 kB / 0.6131 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6125, allocations: 0.5594 MB / 0.6136 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6125, allocations: 7.984 kB / 0.6136 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.6126, allocations: 12 kB / 0.6136 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.6126, allocations: 7.984 kB / 0.6136 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.6141, allocations: 0.6299 MB / 0.6142 GB, free: 0.707 MB / 446.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.002193/0.6163, allocations: 1.711 MB / 0.6159 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.6166, allocations: 158.5 kB / 0.6161 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.6168, allocations: 76.83 kB / 0.6161 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.6174, allocations: 0.7004 MB / 0.6168 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.6175, allocations: 38.56 kB / 0.6169 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.6175, allocations: 0 / 0.6169 GB, free: 13.75 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=17): time 0.001007/0.6185, allocations: 327.8 kB / 0.6172 GB, free: 13.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.6185, allocations: 55.41 kB / 0.6172 GB, free: 13.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.6187, allocations: 194.9 kB / 0.6174 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.6187, allocations: 25.7 kB / 0.6174 GB, free: 13.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6188, allocations: 191.3 kB / 0.6176 GB, free: 12.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.6189, allocations: 67.09 kB / 0.6177 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.619, allocations: 93.97 kB / 0.6178 GB, free: 12.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6192, allocations: 326.8 kB / 0.6181 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6193, allocations: 64.72 kB / 0.6181 GB, free: 12.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.6196, allocations: 271.8 kB / 0.6184 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.62, allocations: 369.3 kB / 0.6188 GB, free: 11.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6201, allocations: 7.5 kB / 0.6188 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000686/0.6207, allocations: 369 kB / 0.6191 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6208, allocations: 8 kB / 0.6191 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6208, allocations: 4 kB / 0.6191 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.6208, allocations: 15.94 kB / 0.6191 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.6213, allocations: 124.5 kB / 0.6193 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003678/0.6216, allocations: 0.6055 MB / 0.6199 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.6219, allocations: 43.53 kB / 0.6199 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.622, allocations: 43.98 kB / 0.6199 GB, free: 10.34 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.0001545/0.6222, allocations: 149.8 kB / 0.6201 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.6222, allocations: 19.81 kB / 0.6201 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/0.6232, allocations: 439.9 kB / 0.6205 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6232, allocations: 4 kB / 0.6205 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6232, allocations: 0 / 0.6205 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6232, allocations: 0 / 0.6205 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/0.624, allocations: 0.6304 MB / 0.6211 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6241, allocations: 7.875 kB / 0.6211 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.6243, allocations: 59.95 kB / 0.6212 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6243, allocations: 0 / 0.6212 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.6243, allocations: 12 kB / 0.6212 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002895/0.6246, allocations: 0.6056 MB / 0.6218 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6246, allocations: 0 / 0.6218 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.625, allocations: 288.4 kB / 0.6221 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.6251, allocations: 112.8 kB / 0.6222 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.6252, allocations: 8 kB / 0.6222 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.6254, allocations: 11.98 kB / 0.6222 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.6255, allocations: 23.92 kB / 0.6222 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.6255, allocations: 15.98 kB / 0.6222 GB, free: 7.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.6257, allocations: 148.1 kB / 0.6224 GB, free: 7.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6257, allocations: 0 / 0.6224 GB, free: 7.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006193/0.6263, allocations: 155.8 kB / 0.6225 GB, free: 7.492 MB / 462.1 MB 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.001096/0.6274, allocations: 0.943 MB / 0.6235 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.628, allocations: 233 kB / 0.6237 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.628, allocations: 0 / 0.6237 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.6282, allocations: 96.25 kB / 0.6238 GB, free: 6.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.6287, allocations: 61.55 kB / 0.6238 GB, free: 6.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.6322, allocations: 2.901 MB / 0.6267 GB, free: 2.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.6325, allocations: 0.7285 MB / 0.6274 GB, free: 2.184 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008437/0.6333, allocations: 386 kB / 0.6277 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.6336, allocations: 95.36 kB / 0.6278 GB, free: 1.707 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6336, allocations: 0 / 0.6278 GB, free: 1.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.6539, allocations: 7.22 MB / 0.6349 GB, free: 10.67 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.6542, allocations: 282 kB / 0.6352 GB, free: 10.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.674, allocations: 3.938 kB / 0.6352 GB, free: 10.29 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches