Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 202.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 46.94 MB / 361.7 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 66.04 MB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2148/0.5723, allocations: 153.5 MB / 0.7114 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006205/0.5785, allocations: 5.178 MB / 0.7164 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.5786, allocations: 7.938 kB / 0.7164 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.5789, allocations: 51.61 kB / 0.7165 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.5821, allocations: 1.226 MB / 0.7177 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.5824, allocations: 143.2 kB / 0.7178 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.583, allocations: 406.1 kB / 0.7182 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.583, allocations: 5.812 kB / 0.7182 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.5833, allocations: 179.3 kB / 0.7184 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.5836, allocations: 179.4 kB / 0.7185 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.5837, allocations: 8 kB / 0.7185 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.5857, allocations: 1.053 MB / 0.7196 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.5858, allocations: 51.75 kB / 0.7196 GB, free: 1.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.5859, allocations: 107.5 kB / 0.7197 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.5873, allocations: 0.8532 MB / 0.7206 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5873, allocations: 0 / 0.7206 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5873, allocations: 4 kB / 0.7206 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5873, allocations: 4 kB / 0.7206 GB, free: 0.9062 MB / 0.545 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.00137/0.5887, allocations: 0.6177 MB / 0.7212 GB, free: 264 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5887, allocations: 8.031 kB / 0.7212 GB, free: 256 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.494e-05/0.5888, allocations: 12.69 kB / 0.7212 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.414e-05/0.5888, allocations: 54.73 kB / 0.7212 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007762/0.5966, allocations: 0.6093 MB / 0.7218 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.5971, allocations: 217.1 kB / 0.722 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.5973, allocations: 230.1 kB / 0.7223 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.5974, allocations: 19.98 kB / 0.7223 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5987, allocations: 0.5665 MB / 0.7228 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.5987, allocations: 3.938 kB / 0.7228 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.5987, allocations: 12 kB / 0.7228 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.5988, allocations: 11.98 kB / 0.7229 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.6003, allocations: 0.6299 MB / 0.7235 GB, free: 13.77 MB / 0.5606 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.002287/0.6026, allocations: 1.579 MB / 0.725 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.603, allocations: 146.5 kB / 0.7252 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.6031, allocations: 68.83 kB / 0.7252 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.6037, allocations: 387.8 kB / 0.7256 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.6037, allocations: 38.5 kB / 0.7256 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.6037, allocations: 0 / 0.7256 GB, free: 11.41 MB / 0.5606 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.001093/0.6048, allocations: 317.5 kB / 0.7259 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.6049, allocations: 55.41 kB / 0.726 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.6051, allocations: 183.2 kB / 0.7262 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.6051, allocations: 37.64 kB / 0.7262 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.6053, allocations: 199.7 kB / 0.7264 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.6053, allocations: 67.41 kB / 0.7264 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.6055, allocations: 94.02 kB / 0.7265 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6056, allocations: 334.8 kB / 0.7269 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.6058, allocations: 64.72 kB / 0.7269 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.6061, allocations: 260 kB / 0.7272 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.6066, allocations: 366.2 kB / 0.7275 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6066, allocations: 4 kB / 0.7275 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006735/0.6073, allocations: 384 kB / 0.7279 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6073, allocations: 11.94 kB / 0.7279 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6073, allocations: 8 kB / 0.7279 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.6073, allocations: 8 kB / 0.7279 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.6078, allocations: 119.9 kB / 0.728 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004574/0.6082, allocations: 0.6097 MB / 0.7286 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.6085, allocations: 43.67 kB / 0.7287 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.6085, allocations: 43.98 kB / 0.7287 GB, free: 7.984 MB / 0.5606 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.0001784/0.6087, allocations: 149.6 kB / 0.7288 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.6088, allocations: 15.91 kB / 0.7289 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.6096, allocations: 429.1 kB / 0.7293 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6096, allocations: 4 kB / 0.7293 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6096, allocations: 0 / 0.7293 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6096, allocations: 0 / 0.7293 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009107/0.6106, allocations: 0.531 MB / 0.7298 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6106, allocations: 0 / 0.7298 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.6108, allocations: 59.91 kB / 0.7299 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6108, allocations: 7.938 kB / 0.7299 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.6108, allocations: 7.984 kB / 0.7299 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003994/0.6112, allocations: 0.586 MB / 0.7304 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6112, allocations: 7.969 kB / 0.7304 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.6116, allocations: 301.5 kB / 0.7307 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.6117, allocations: 39.81 kB / 0.7308 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.6118, allocations: 7.953 kB / 0.7308 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.612, allocations: 8 kB / 0.7308 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.612, allocations: 23.91 kB / 0.7308 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.6121, allocations: 19.98 kB / 0.7308 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001363/0.6122, allocations: 136.2 kB / 0.731 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6122, allocations: 0 / 0.731 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006485/0.6129, allocations: 159.7 kB / 0.7311 GB, free: 5.363 MB / 0.5606 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.001097/0.614, allocations: 0.9485 MB / 0.732 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.6145, allocations: 221.1 kB / 0.7323 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.6145, allocations: 4 kB / 0.7323 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6148, allocations: 75.83 kB / 0.7323 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.6153, allocations: 68.73 kB / 0.7324 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.6193, allocations: 2.881 MB / 0.7352 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.6197, allocations: 0.7284 MB / 0.7359 GB, free: 68 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.2265/0.8462, allocations: 378.4 kB / 0.7363 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.8465, allocations: 90.59 kB / 0.7364 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.8465, allocations: 2.062 kB / 0.7364 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.873, allocations: 7.696 MB / 0.7439 GB, free: 171 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.52, allocations: 10.31 kB / 0.7439 GB, free: 171 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.804775281983893]