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.001335/0.001335, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001807/0.001807, allocations: 185 kB / 18.72 MB, free: 4.336 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.479/1.479, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2298/0.2298, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 75.86 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4337, allocations: 60.81 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2165/0.6502, allocations: 150.1 MB / 0.6651 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007212/0.6575, allocations: 5.151 MB / 0.6701 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.6577, allocations: 0 / 0.6701 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.6581, allocations: 55.61 kB / 0.6702 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.662, allocations: 1.205 MB / 0.6713 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.6624, allocations: 139.5 kB / 0.6715 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006634/0.6631, allocations: 390.1 kB / 0.6718 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.6631, allocations: 13.69 kB / 0.6718 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.6635, allocations: 167.4 kB / 0.672 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.6638, allocations: 179.4 kB / 0.6722 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.6639, allocations: 8 kB / 0.6722 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.6663, allocations: 1.01 MB / 0.6732 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.6664, allocations: 47.75 kB / 0.6732 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.6665, allocations: 107.5 kB / 0.6733 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.6685, allocations: 0.8452 MB / 0.6741 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6685, allocations: 4 kB / 0.6741 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6685, allocations: 0 / 0.6741 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.6686, allocations: 0 / 0.6741 GB, free: 12.11 MB / 0.5294 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.001461/0.67, allocations: 0.6853 MB / 0.6748 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.6701, allocations: 12.03 kB / 0.6748 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/0.6702, allocations: 66.7 kB / 0.6749 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007608/0.6778, allocations: 0.5898 MB / 0.6755 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.6784, allocations: 263.2 kB / 0.6757 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.6786, allocations: 131.3 kB / 0.6758 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.6787, allocations: 20 kB / 0.6759 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.6801, allocations: 0.5634 MB / 0.6764 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.6801, allocations: 4 kB / 0.6764 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.6802, allocations: 8 kB / 0.6764 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.6802, allocations: 8 kB / 0.6764 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.6819, allocations: 0.6299 MB / 0.677 GB, free: 8.98 MB / 0.5294 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.002569/0.6845, allocations: 1.721 MB / 0.6787 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.6849, allocations: 154.5 kB / 0.6789 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.6851, allocations: 76.78 kB / 0.6789 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/0.6859, allocations: 0.7045 MB / 0.6796 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.6859, allocations: 30.56 kB / 0.6797 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.686, allocations: 4 kB / 0.6797 GB, free: 6.023 MB / 0.5294 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.001126/0.6871, allocations: 328.2 kB / 0.68 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.6871, allocations: 51.41 kB / 0.68 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.6874, allocations: 195 kB / 0.6802 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.6874, allocations: 29.7 kB / 0.6802 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6876, allocations: 195.8 kB / 0.6804 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.6876, allocations: 63.47 kB / 0.6805 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.6878, allocations: 98 kB / 0.6806 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.688, allocations: 330.8 kB / 0.6809 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.6881, allocations: 72.7 kB / 0.681 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.6885, allocations: 263.8 kB / 0.6812 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.6891, allocations: 370.1 kB / 0.6816 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6891, allocations: 0 / 0.6816 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007168/0.6898, allocations: 372.8 kB / 0.6819 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6898, allocations: 11.94 kB / 0.6819 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6899, allocations: 8 kB / 0.682 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.6899, allocations: 12 kB / 0.682 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.6903, allocations: 123.8 kB / 0.6821 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/0.6908, allocations: 0.5979 MB / 0.6827 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.6911, allocations: 55.69 kB / 0.6827 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.6912, allocations: 39.98 kB / 0.6828 GB, free: 2.598 MB / 0.5294 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.0001681/0.6913, allocations: 149.6 kB / 0.6829 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.6914, allocations: 19.91 kB / 0.6829 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000875/0.6923, allocations: 432.9 kB / 0.6833 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6923, allocations: 0 / 0.6833 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6923, allocations: 4 kB / 0.6833 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6923, allocations: 7.984 kB / 0.6833 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.6933, allocations: 0.6228 MB / 0.6839 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6933, allocations: 8 kB / 0.684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6935, allocations: 55.97 kB / 0.684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6935, allocations: 7.938 kB / 0.684 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.6936, allocations: 7.938 kB / 0.684 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004091/0.694, allocations: 0.5938 MB / 0.6846 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.694, allocations: 8.031 kB / 0.6846 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.6945, allocations: 297.3 kB / 0.6849 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.6946, allocations: 109 kB / 0.685 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.6947, allocations: 4 kB / 0.685 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.6951, allocations: 11.98 kB / 0.685 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.6951, allocations: 19.86 kB / 0.685 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.6952, allocations: 23.98 kB / 0.6851 GB, free: 40 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001912/0.6954, allocations: 136.9 kB / 0.6852 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6954, allocations: 0 / 0.6852 GB, free: 15.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008107/0.6962, allocations: 155.7 kB / 0.6853 GB, free: 15.75 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.001681/0.6979, allocations: 0.9618 MB / 0.6863 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.6986, allocations: 231.5 kB / 0.6865 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.6986, allocations: 0 / 0.6865 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.6988, allocations: 89.33 kB / 0.6866 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.6994, allocations: 67.98 kB / 0.6866 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.7038, allocations: 2.847 MB / 0.6894 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.7043, allocations: 0.7245 MB / 0.6901 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007169/0.705, allocations: 389 kB / 0.6905 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.7052, allocations: 91.38 kB / 0.6906 GB, free: 10.01 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.7052, allocations: 0 / 0.6906 GB, free: 10.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.7404, allocations: 7.406 MB / 0.6978 GB, free: 2.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.04, allocations: 15.78 kB / 0.6978 GB, free: 2.746 MB / 0.545 GB (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