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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 79.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3683, allocations: 62.44 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1732/0.5415, allocations: 153 MB / 0.68 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006158/0.5477, allocations: 5.155 MB / 0.685 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.548, allocations: 4 kB / 0.685 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.5484, allocations: 55.59 kB / 0.6851 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.553, allocations: 1.188 MB / 0.6862 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.5534, allocations: 142.1 kB / 0.6864 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007134/0.5541, allocations: 398.1 kB / 0.6867 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.5542, allocations: 13.69 kB / 0.6868 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.5545, allocations: 171.4 kB / 0.6869 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.5549, allocations: 171.4 kB / 0.6871 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.5549, allocations: 11.98 kB / 0.6871 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.557, allocations: 1.022 MB / 0.6881 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.5572, allocations: 39.89 kB / 0.6881 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.5573, allocations: 111.5 kB / 0.6882 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.5593, allocations: 0.8498 MB / 0.6891 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5593, allocations: 0 / 0.6891 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5593, allocations: 0 / 0.6891 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5593, allocations: 4 kB / 0.6891 GB, free: 14.73 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.001493/0.5608, allocations: 0.6828 MB / 0.6897 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5609, allocations: 8.031 kB / 0.6897 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/0.561, allocations: 62.67 kB / 0.6898 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007561/0.5685, allocations: 0.6092 MB / 0.6904 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.5692, allocations: 267.2 kB / 0.6907 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.5693, allocations: 123.4 kB / 0.6908 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5694, allocations: 20 kB / 0.6908 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5707, allocations: 0.5634 MB / 0.6913 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5707, allocations: 0 / 0.6913 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.5708, allocations: 15.98 kB / 0.6914 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5708, allocations: 7.938 kB / 0.6914 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.5722, allocations: 0.626 MB / 0.692 GB, free: 11.59 MB / 0.545 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.002252/0.5745, allocations: 1.721 MB / 0.6937 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.5749, allocations: 158.5 kB / 0.6938 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.575, allocations: 75.11 kB / 0.6939 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/0.5757, allocations: 0.7043 MB / 0.6946 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5757, allocations: 38.56 kB / 0.6946 GB, free: 8.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.5758, allocations: 0 / 0.6946 GB, free: 8.633 MB / 0.545 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.001045/0.5768, allocations: 327.3 kB / 0.6949 GB, free: 8.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5769, allocations: 55.34 kB / 0.695 GB, free: 8.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.577, allocations: 191.8 kB / 0.6951 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.5771, allocations: 29.64 kB / 0.6952 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5772, allocations: 191.2 kB / 0.6954 GB, free: 7.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.5773, allocations: 67.19 kB / 0.6954 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5774, allocations: 89.97 kB / 0.6955 GB, free: 7.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5775, allocations: 330.8 kB / 0.6958 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5777, allocations: 68.7 kB / 0.6959 GB, free: 7.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.578, allocations: 260 kB / 0.6961 GB, free: 6.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.5785, allocations: 363.7 kB / 0.6965 GB, free: 6.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5785, allocations: 3.938 kB / 0.6965 GB, free: 6.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006258/0.5791, allocations: 376.9 kB / 0.6968 GB, free: 6.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5791, allocations: 15.94 kB / 0.6969 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5792, allocations: 4 kB / 0.6969 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.5792, allocations: 12 kB / 0.6969 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.5796, allocations: 131.8 kB / 0.697 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/0.58, allocations: 0.6015 MB / 0.6976 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.5802, allocations: 43.53 kB / 0.6976 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.5803, allocations: 44.08 kB / 0.6977 GB, free: 5.219 MB / 0.545 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.0001562/0.5804, allocations: 153.5 kB / 0.6978 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.5805, allocations: 19.81 kB / 0.6978 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007689/0.5813, allocations: 425.1 kB / 0.6982 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.5813, allocations: 4 kB / 0.6982 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5813, allocations: 0 / 0.6982 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5813, allocations: 0 / 0.6982 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.5822, allocations: 0.6304 MB / 0.6989 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5822, allocations: 0 / 0.6989 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.5825, allocations: 63.89 kB / 0.6989 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5825, allocations: 4.219 kB / 0.6989 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.5825, allocations: 15.94 kB / 0.6989 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/0.5828, allocations: 0.5977 MB / 0.6995 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5828, allocations: 0 / 0.6995 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.5832, allocations: 289.3 kB / 0.6998 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5833, allocations: 108.8 kB / 0.6999 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.5834, allocations: 8 kB / 0.6999 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.5836, allocations: 19.98 kB / 0.6999 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.5837, allocations: 19.92 kB / 0.7 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.5837, allocations: 15.98 kB / 0.7 GB, free: 2.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001222/0.5838, allocations: 144.2 kB / 0.7001 GB, free: 2.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5838, allocations: 0 / 0.7001 GB, free: 2.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006413/0.5845, allocations: 155.8 kB / 0.7003 GB, free: 2.371 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.001228/0.5857, allocations: 0.9664 MB / 0.7012 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.5863, allocations: 236.8 kB / 0.7014 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5863, allocations: 0 / 0.7014 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.5865, allocations: 79.83 kB / 0.7015 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.587, allocations: 64.33 kB / 0.7016 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.5907, allocations: 2.858 MB / 0.7044 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.591, allocations: 0.7245 MB / 0.7051 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006264/0.5917, allocations: 385 kB / 0.7054 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.5919, allocations: 95.36 kB / 0.7055 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.5919, allocations: 4 kB / 0.7055 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.6228, allocations: 7.484 MB / 0.7128 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.91, allocations: 15.52 kB / 0.7128 GB, free: 5.258 MB / 0.5606 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches