Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001874, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002323/0.002323, allocations: 212.5 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 80.16 kB / 0.4962 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3073, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1841/0.4914, allocations: 153.5 MB / 0.7107 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006693/0.4981, allocations: 5.17 MB / 0.7157 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.4983, allocations: 3.938 kB / 0.7157 GB, free: 4.988 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.4987, allocations: 55.59 kB / 0.7158 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.5025, allocations: 1.226 MB / 0.717 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.5029, allocations: 149.4 kB / 0.7171 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.5036, allocations: 398.1 kB / 0.7175 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.5037, allocations: 13.8 kB / 0.7175 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.504, allocations: 171.3 kB / 0.7177 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.5044, allocations: 179.4 kB / 0.7178 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.5045, allocations: 8 kB / 0.7179 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.5067, allocations: 1.053 MB / 0.7189 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.5068, allocations: 47.77 kB / 0.7189 GB, free: 1.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.507, allocations: 111.5 kB / 0.719 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5088, allocations: 0.8571 MB / 0.7199 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5088, allocations: 0 / 0.7199 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5088, allocations: 0 / 0.7199 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.5088, allocations: 0 / 0.7199 GB, free: 0.7383 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.001462/0.5103, allocations: 0.6255 MB / 0.7205 GB, free: 84 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5103, allocations: 12.03 kB / 0.7205 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.335e-05/0.5104, allocations: 58.73 kB / 0.7205 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007777/0.5182, allocations: 0.6054 MB / 0.7211 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.5188, allocations: 209.3 kB / 0.7213 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.5191, allocations: 234 kB / 0.7216 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5192, allocations: 24 kB / 0.7216 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.5204, allocations: 0.5626 MB / 0.7221 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5205, allocations: 3.984 kB / 0.7221 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.5205, allocations: 12 kB / 0.7221 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.5206, allocations: 8 kB / 0.7222 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.522, allocations: 0.6338 MB / 0.7228 GB, free: 13.61 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.002341/0.5244, allocations: 1.586 MB / 0.7243 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.5247, allocations: 142.5 kB / 0.7245 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.5249, allocations: 64.88 kB / 0.7245 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.5254, allocations: 387.9 kB / 0.7249 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.5255, allocations: 34.56 kB / 0.7249 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.5255, allocations: 3.938 kB / 0.7249 GB, free: 11.25 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.001041/0.5265, allocations: 319.8 kB / 0.7252 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.5266, allocations: 59.41 kB / 0.7253 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.5268, allocations: 191.1 kB / 0.7255 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.5268, allocations: 29.7 kB / 0.7255 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.5269, allocations: 195.7 kB / 0.7257 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.527, allocations: 71.45 kB / 0.7258 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.5271, allocations: 97.94 kB / 0.7259 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5273, allocations: 326.8 kB / 0.7262 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.5274, allocations: 64.7 kB / 0.7262 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.5278, allocations: 264 kB / 0.7265 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.5282, allocations: 366.2 kB / 0.7268 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5283, allocations: 4 kB / 0.7268 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006573/0.5289, allocations: 375.8 kB / 0.7272 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5289, allocations: 11.94 kB / 0.7272 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5289, allocations: 12.09 kB / 0.7272 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.529, allocations: 8 kB / 0.7272 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.5294, allocations: 131.8 kB / 0.7273 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004134/0.5298, allocations: 0.5977 MB / 0.7279 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.5301, allocations: 39.67 kB / 0.728 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.5301, allocations: 47.98 kB / 0.728 GB, free: 7.824 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.0001558/0.5303, allocations: 149.7 kB / 0.7282 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.5303, allocations: 15.91 kB / 0.7282 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008291/0.5312, allocations: 433 kB / 0.7286 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5312, allocations: 0 / 0.7286 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5312, allocations: 0 / 0.7286 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5312, allocations: 7.984 kB / 0.7286 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.5321, allocations: 0.523 MB / 0.7291 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5321, allocations: 4 kB / 0.7291 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.5323, allocations: 59.89 kB / 0.7292 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.5323, allocations: 4 kB / 0.7292 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.5323, allocations: 12.16 kB / 0.7292 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003787/0.5327, allocations: 0.5939 MB / 0.7298 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5327, allocations: 4 kB / 0.7298 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.5331, allocations: 297.5 kB / 0.73 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.5332, allocations: 35.81 kB / 0.7301 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.5333, allocations: 7.953 kB / 0.7301 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.5335, allocations: 11.98 kB / 0.7301 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.5335, allocations: 23.86 kB / 0.7301 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.5336, allocations: 27.92 kB / 0.7301 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001337/0.5337, allocations: 132.2 kB / 0.7303 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5337, allocations: 0 / 0.7303 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006715/0.5344, allocations: 151.7 kB / 0.7304 GB, free: 5.199 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.001147/0.5355, allocations: 0.948 MB / 0.7313 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.5361, allocations: 221.1 kB / 0.7316 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5361, allocations: 0 / 0.7316 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.5363, allocations: 92.44 kB / 0.7316 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.5368, allocations: 66.52 kB / 0.7317 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.5408, allocations: 2.867 MB / 0.7345 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.227/0.7678, allocations: 0.7312 MB / 0.7352 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008718/0.7687, allocations: 382.3 kB / 0.7356 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.7689, allocations: 100.3 kB / 0.7357 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.7689, allocations: 0.8438 kB / 0.7357 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.8021, allocations: 7.665 MB / 0.7432 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.5, allocations: 11.02 kB / 0.7432 GB, free: 170.8 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.595590041950345]