Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.0008154/0.0008154, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000792/0.000792, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9095/0.9095, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2542/0.2542, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.052e-05, allocations: 8.75 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3091/0.3091, allocations: 153.8 MB / 0.582 GB, free: 6.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.3147, allocations: 4.919 MB / 0.5868 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.3151, allocations: 27.75 kB / 0.5869 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.3158, allocations: 309.8 kB / 0.5871 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.3181, allocations: 1.318 MB / 0.5884 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3199, allocations: 1.006 MB / 0.5894 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.3217, allocations: 1.883 MB / 0.5913 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.3222, allocations: 397.5 kB / 0.5916 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.3239, allocations: 1.347 MB / 0.593 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/0.3246, allocations: 0.6389 MB / 0.5936 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.634e-05/0.3247, allocations: 64 kB / 0.5936 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3257, allocations: 0.5537 MB / 0.5942 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.3259, allocations: 291.1 kB / 0.5945 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.3261, allocations: 279.4 kB / 0.5947 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.3275, allocations: 1.39 MB / 0.5961 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3275, allocations: 4 kB / 0.5961 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3275, allocations: 0 / 0.5961 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3275, allocations: 0 / 0.5961 GB, free: 8.188 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001639/0.3291, allocations: 1.038 MB / 0.5971 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3292, allocations: 12.03 kB / 0.5971 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.3293, allocations: 98.52 kB / 0.5972 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.3297, allocations: 139.5 kB / 0.5973 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.3304, allocations: 473.4 kB / 0.5978 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.3305, allocations: 159.8 kB / 0.5979 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.3306, allocations: 51.97 kB / 0.598 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.332, allocations: 1.136 MB / 0.5991 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.332, allocations: 0 / 0.5991 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/0.332, allocations: 27.98 kB / 0.5991 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.3321, allocations: 44.91 kB / 0.5992 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.3328, allocations: 0.6205 MB / 0.5998 GB, free: 4.16 MB / 0.4948 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.002663/0.3355, allocations: 3.299 MB / 0.603 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.3358, allocations: 333 kB / 0.6033 GB, free: 428 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.336, allocations: 167.8 kB / 0.6035 GB, free: 260 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.3361, allocations: 12.28 kB / 0.6035 GB, free: 248 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3361, allocations: 49.45 kB / 0.6035 GB, free: 192 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.3361, allocations: 0 / 0.6035 GB, free: 192 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003349/0.3395, allocations: 1.596 MB / 0.6051 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.3395, allocations: 144.4 kB / 0.6052 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.34, allocations: 0.6326 MB / 0.6058 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.34, allocations: 33.7 kB / 0.6059 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3402, allocations: 371.8 kB / 0.6062 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.3403, allocations: 146.8 kB / 0.6064 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3404, allocations: 158.6 kB / 0.6065 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3405, allocations: 382.8 kB / 0.6069 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3407, allocations: 197.9 kB / 0.6071 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3411, allocations: 0.5925 MB / 0.6077 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.3417, allocations: 0.7477 MB / 0.6084 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3417, allocations: 0 / 0.6084 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009019/0.3426, allocations: 0.8805 MB / 0.6092 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3427, allocations: 12 kB / 0.6093 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3427, allocations: 8.094 kB / 0.6093 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007372/0.3434, allocations: 317.5 kB / 0.6096 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3436, allocations: 123.8 kB / 0.6097 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007341/0.3444, allocations: 0.9344 MB / 0.6106 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.3446, allocations: 27.98 kB / 0.6106 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.3447, allocations: 64 kB / 0.6107 GB, free: 8.402 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.3449, allocations: 253.5 kB / 0.6109 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.345, allocations: 71.52 kB / 0.611 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3462, allocations: 0.8691 MB / 0.6118 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3463, allocations: 4 kB / 0.6118 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3463, allocations: 0 / 0.6118 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3463, allocations: 3.984 kB / 0.6119 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.3475, allocations: 1.137 MB / 0.613 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3475, allocations: 3.938 kB / 0.613 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.348, allocations: 209.6 kB / 0.6132 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.491e-05/0.3481, allocations: 24.84 kB / 0.6132 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.3481, allocations: 23.98 kB / 0.6132 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3494, allocations: 2.664 MB / 0.6158 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3494, allocations: 320 / 0.6158 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.3502, allocations: 0.8262 MB / 0.6166 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.3503, allocations: 111.5 kB / 0.6167 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.3504, allocations: 14 kB / 0.6167 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3506, allocations: 19.98 kB / 0.6168 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.3507, allocations: 39.83 kB / 0.6168 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3507, allocations: 51.91 kB / 0.6168 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003406/0.351, allocations: 435 kB / 0.6173 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.351, allocations: 0 / 0.6173 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006347/0.3517, allocations: 259.7 kB / 0.6175 GB, free: 1.062 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001672/0.3534, allocations: 1.551 MB / 0.619 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007328/0.3541, allocations: 0.5276 MB / 0.6195 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3541, allocations: 4 kB / 0.6195 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.3547, allocations: 407.4 kB / 0.6199 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.3556, allocations: 373.7 kB / 0.6203 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/0.3619, allocations: 6.265 MB / 0.6264 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3621, allocations: 336.7 kB / 0.6267 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008381/0.3629, allocations: 463 kB / 0.6272 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.3633, allocations: 284.4 kB / 0.6274 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/0.3633, allocations: 0 / 0.6274 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/0.5895, allocations: 25.67 MB / 0.6525 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/9.011, allocations: 14.09 kB / 0.6525 GB, free: 162.7 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.138773479498923]