Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.001655/0.001655, allocations: 116.7 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.0019/0.0019, allocations: 189.2 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.608/1.608, allocations: 225.6 MB / 249.8 MB, free: 3.625 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.2167/0.2167, allocations: 44.91 MB / 349.6 MB, free: 1.719 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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 64.39 kB / 491.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1285, allocations: 64.25 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4771/0.6056, allocations: 174.9 MB / 0.7138 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007801/0.6134, allocations: 5.354 MB / 0.7191 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.6139, allocations: 23.81 kB / 0.7191 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008609/0.6148, allocations: 326 kB / 0.7194 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.6179, allocations: 1.262 MB / 0.7206 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.6203, allocations: 0.9589 MB / 0.7216 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.6225, allocations: 1.864 MB / 0.7234 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006992/0.6232, allocations: 413.4 kB / 0.7238 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.6257, allocations: 1.078 MB / 0.7248 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.6269, allocations: 0.7006 MB / 0.7255 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.627, allocations: 60 kB / 0.7256 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.6285, allocations: 0.6242 MB / 0.7262 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.6288, allocations: 275.1 kB / 0.7265 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.6293, allocations: 398.2 kB / 0.7268 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.6312, allocations: 1.308 MB / 0.7281 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6312, allocations: 0 / 0.7281 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6312, allocations: 3.938 kB / 0.7281 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.6312, allocations: 0 / 0.7281 GB, free: 0.9023 MB / 0.5137 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.002381/0.6336, allocations: 1.121 MB / 0.7292 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6336, allocations: 15.97 kB / 0.7292 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.6337, allocations: 102.5 kB / 0.7293 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.6346, allocations: 135.5 kB / 0.7295 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6356, allocations: 0.5279 MB / 0.73 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.6357, allocations: 108.4 kB / 0.7301 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.6358, allocations: 44 kB / 0.7301 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6372, allocations: 0.8213 MB / 0.7309 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.6372, allocations: 0 / 0.7309 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.6373, allocations: 27.98 kB / 0.7309 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.6373, allocations: 40.92 kB / 0.731 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6384, allocations: 0.6243 MB / 0.7316 GB, free: 13.15 MB / 0.5294 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.00538/0.6438, allocations: 3.962 MB / 0.7355 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.6445, allocations: 343.6 kB / 0.7358 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.6447, allocations: 161.3 kB / 0.7359 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.6449, allocations: 89.38 kB / 0.736 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.645, allocations: 42.78 kB / 0.7361 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.645e-06/0.645, allocations: 0 / 0.7361 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00585/0.6508, allocations: 1.667 MB / 0.7377 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6509, allocations: 140.4 kB / 0.7378 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.6518, allocations: 0.6095 MB / 0.7384 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.6518, allocations: 41.7 kB / 0.7385 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.6521, allocations: 371.9 kB / 0.7388 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6522, allocations: 150.7 kB / 0.739 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.6525, allocations: 154.6 kB / 0.7391 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.6527, allocations: 378.8 kB / 0.7395 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.653, allocations: 205.9 kB / 0.7397 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.6537, allocations: 0.5125 MB / 0.7402 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6547, allocations: 0.7483 MB / 0.7409 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.6547, allocations: 4.75 kB / 0.7409 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001495/0.6562, allocations: 0.8837 MB / 0.7418 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6563, allocations: 8 kB / 0.7418 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6563, allocations: 8.875 kB / 0.7418 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.6577, allocations: 315.2 kB / 0.7421 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.6581, allocations: 127.7 kB / 0.7422 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.6593, allocations: 0.933 MB / 0.7431 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.6598, allocations: 24 kB / 0.7431 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.6599, allocations: 67.98 kB / 0.7432 GB, free: 0.5117 MB / 0.5294 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.0003842/0.6603, allocations: 257.4 kB / 0.7435 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.6604, allocations: 67.58 kB / 0.7435 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.662, allocations: 0.8627 MB / 0.7444 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.662, allocations: 4 kB / 0.7444 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.662, allocations: 0 / 0.7444 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.662, allocations: 9.109 kB / 0.7444 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.6643, allocations: 1.458 MB / 0.7458 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6643, allocations: 3.984 kB / 0.7458 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6653, allocations: 207.8 kB / 0.746 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-05/0.6654, allocations: 29.03 kB / 0.746 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.6654, allocations: 23.98 kB / 0.746 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.6678, allocations: 2.878 MB / 0.7489 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6678, allocations: 7.969 kB / 0.7489 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.669, allocations: 0.8294 MB / 0.7497 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.6693, allocations: 196.6 kB / 0.7499 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.6694, allocations: 8 kB / 0.7499 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.6698, allocations: 16 kB / 0.7499 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.6699, allocations: 47.89 kB / 0.7499 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.67, allocations: 43.98 kB / 0.75 GB, free: 9.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005438/0.6705, allocations: 439 kB / 0.7504 GB, free: 8.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6705, allocations: 0 / 0.7504 GB, free: 8.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008637/0.6714, allocations: 255.8 kB / 0.7506 GB, free: 8.414 MB / 0.545 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.00221/0.6736, allocations: 1.547 MB / 0.7521 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.6748, allocations: 0.5356 MB / 0.7527 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6748, allocations: 4 kB / 0.7527 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.6758, allocations: 406.3 kB / 0.7531 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6773, allocations: 371.5 kB / 0.7534 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008758/0.6861, allocations: 6.341 MB / 0.7596 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.6867, allocations: 0.9416 MB / 0.7605 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001088/0.6878, allocations: 462.4 kB / 0.761 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.6883, allocations: 279.3 kB / 0.7612 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.6883, allocations: 4 kB / 0.7612 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0935/0.7818, allocations: 24.5 MB / 0.7852 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14, allocations: 8.469 kB / 0.7852 GB, free: 4.801 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.414417022373527]