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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 64.34 kB / 491.8 MB, free: 30.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1421, allocations: 64.26 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.52/0.6621, allocations: 150.6 MB / 0.6901 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.6687, allocations: 5.162 MB / 0.6951 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.6689, allocations: 6.125 kB / 0.6951 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.6692, allocations: 55.5 kB / 0.6952 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.6727, allocations: 1.207 MB / 0.6963 GB, free: 24 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.6731, allocations: 148.8 kB / 0.6965 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006133/0.6737, allocations: 395.4 kB / 0.6969 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.6738, allocations: 8.562 kB / 0.6969 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.6741, allocations: 171.1 kB / 0.697 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.6744, allocations: 170.3 kB / 0.6972 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.6745, allocations: 7 kB / 0.6972 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.6766, allocations: 1.032 MB / 0.6982 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.983e-05/0.6767, allocations: 52.58 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.6769, allocations: 114.6 kB / 0.6984 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.6786, allocations: 0.8421 MB / 0.6992 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6786, allocations: 0 / 0.6992 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6786, allocations: 2.812 kB / 0.6992 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.6787, allocations: 0 / 0.6992 GB, free: 14.46 MB / 0.4981 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.001498/0.6802, allocations: 0.6883 MB / 0.6999 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6802, allocations: 13.62 kB / 0.6999 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.065e-05/0.6803, allocations: 58.58 kB / 0.6999 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/0.6877, allocations: 0.5927 MB / 0.7005 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.6884, allocations: 271.5 kB / 0.7008 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.6886, allocations: 123.4 kB / 0.7009 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.6887, allocations: 20 kB / 0.7009 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.69, allocations: 0.5595 MB / 0.7015 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.69, allocations: 4 kB / 0.7015 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.6901, allocations: 8 kB / 0.7015 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.6901, allocations: 8 kB / 0.7015 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.6916, allocations: 0.6338 MB / 0.7021 GB, free: 11.52 MB / 0.4981 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.00268/0.6943, allocations: 1.714 MB / 0.7038 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.6947, allocations: 146.5 kB / 0.7039 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.6949, allocations: 72.83 kB / 0.704 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008147/0.6957, allocations: 0.7044 MB / 0.7047 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.6957, allocations: 34.56 kB / 0.7047 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.6957, allocations: 3.938 kB / 0.7047 GB, free: 8.578 MB / 0.4981 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.001062/0.6968, allocations: 315.2 kB / 0.705 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.6968, allocations: 59.39 kB / 0.7051 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.697, allocations: 191 kB / 0.7052 GB, free: 8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.6971, allocations: 33.64 kB / 0.7053 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6972, allocations: 195.8 kB / 0.7055 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.6973, allocations: 67.47 kB / 0.7055 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.6974, allocations: 98 kB / 0.7056 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6976, allocations: 326.8 kB / 0.7059 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.6978, allocations: 64.7 kB / 0.706 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.6981, allocations: 271.7 kB / 0.7063 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.6987, allocations: 359.6 kB / 0.7066 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6987, allocations: 8 kB / 0.7066 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007259/0.6994, allocations: 369.9 kB / 0.707 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6994, allocations: 8 kB / 0.707 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.6994, allocations: 11.98 kB / 0.707 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.6995, allocations: 11.94 kB / 0.707 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.6999, allocations: 119.9 kB / 0.7071 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004576/0.7004, allocations: 0.6114 MB / 0.7077 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.7006, allocations: 51.62 kB / 0.7078 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.7007, allocations: 43.44 kB / 0.7078 GB, free: 5.156 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.0001804/0.7009, allocations: 149.6 kB / 0.7079 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.701, allocations: 15.91 kB / 0.708 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000884/0.7018, allocations: 437.3 kB / 0.7084 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7018, allocations: 0 / 0.7084 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.7018, allocations: 0 / 0.7084 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7018, allocations: 0 / 0.7084 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.7029, allocations: 0.6266 MB / 0.709 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7029, allocations: 7.938 kB / 0.709 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.7031, allocations: 59.91 kB / 0.709 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.7031, allocations: 4 kB / 0.709 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.7031, allocations: 7.984 kB / 0.7091 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004131/0.7036, allocations: 0.5979 MB / 0.7096 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7036, allocations: 12.06 kB / 0.7097 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.704, allocations: 293.2 kB / 0.7099 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.7041, allocations: 109 kB / 0.71 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.7042, allocations: 4 kB / 0.71 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.7044, allocations: 12.73 kB / 0.7101 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.7045, allocations: 15.98 kB / 0.7101 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.7045, allocations: 16 kB / 0.7101 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001434/0.7047, allocations: 152.1 kB / 0.7102 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7047, allocations: 4 kB / 0.7102 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006833/0.7053, allocations: 151.7 kB / 0.7104 GB, free: 2.32 MB / 0.4981 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.001427/0.7068, allocations: 0.9614 MB / 0.7113 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006316/0.7074, allocations: 215.7 kB / 0.7115 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.7074, allocations: 5.875 kB / 0.7115 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.7076, allocations: 79.77 kB / 0.7116 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.7082, allocations: 64.23 kB / 0.7117 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.713, allocations: 2.858 MB / 0.7145 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.7134, allocations: 0.7246 MB / 0.7152 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007562/0.7142, allocations: 385 kB / 0.7155 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.7144, allocations: 99.3 kB / 0.7156 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.7144, allocations: 0 / 0.7156 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.7497, allocations: 7.448 MB / 0.7229 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.57, allocations: 7.969 kB / 0.7229 GB, free: 5.289 MB / 0.5137 GB " [Timeout remaining time 647] (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 --stepSize=1.9988e-05 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.832786622922868]