Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.00137/0.00137, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001557/0.001557, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.428/1.428, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2236/0.2236, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003039/0.003039, allocations: 71.89 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1479, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4741/0.622, allocations: 177.9 MB / 0.7291 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007575/0.6296, allocations: 5.346 MB / 0.7343 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.63, allocations: 27.75 kB / 0.7343 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.6308, allocations: 325.9 kB / 0.7346 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.6339, allocations: 1.268 MB / 0.7359 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.6362, allocations: 0.959 MB / 0.7368 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.6384, allocations: 1.856 MB / 0.7386 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.639, allocations: 417.4 kB / 0.739 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.641, allocations: 1.098 MB / 0.7401 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009472/0.642, allocations: 0.6929 MB / 0.7408 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6421, allocations: 60 kB / 0.7408 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.6433, allocations: 0.6398 MB / 0.7415 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.6436, allocations: 279.2 kB / 0.7417 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.644, allocations: 394.2 kB / 0.7421 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.6457, allocations: 1.304 MB / 0.7434 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6457, allocations: 0 / 0.7434 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6457, allocations: 0 / 0.7434 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.6457, allocations: 0 / 0.7434 GB, free: 0.8398 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002312/0.648, allocations: 1.113 MB / 0.7445 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.648, allocations: 15.97 kB / 0.7445 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.6482, allocations: 98.5 kB / 0.7446 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/0.649, allocations: 143.4 kB / 0.7447 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.6499, allocations: 0.5396 MB / 0.7452 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.65, allocations: 100.4 kB / 0.7453 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6501, allocations: 48 kB / 0.7454 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6515, allocations: 0.8097 MB / 0.7462 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6515, allocations: 7.938 kB / 0.7462 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.6516, allocations: 24 kB / 0.7462 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.6517, allocations: 36.97 kB / 0.7462 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6528, allocations: 0.6282 MB / 0.7469 GB, free: 13.09 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.004782/0.6576, allocations: 3.937 MB / 0.7507 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.6582, allocations: 337.8 kB / 0.751 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.6585, allocations: 161.8 kB / 0.7512 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.6586, allocations: 101.4 kB / 0.7513 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.6586, allocations: 39.72 kB / 0.7513 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.6586, allocations: 0 / 0.7513 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005807/0.6645, allocations: 1.683 MB / 0.753 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.6646, allocations: 136.5 kB / 0.7531 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.6653, allocations: 0.6134 MB / 0.7537 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6654, allocations: 33.7 kB / 0.7537 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.6657, allocations: 375.8 kB / 0.7541 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6658, allocations: 150.7 kB / 0.7542 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.6661, allocations: 162.6 kB / 0.7544 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.6663, allocations: 378.7 kB / 0.7547 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.6667, allocations: 201.9 kB / 0.7549 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.6673, allocations: 0.5125 MB / 0.7554 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6684, allocations: 0.7477 MB / 0.7562 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6684, allocations: 7.938 kB / 0.7562 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001529/0.6699, allocations: 0.8803 MB / 0.757 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6699, allocations: 8 kB / 0.757 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.6699, allocations: 12 kB / 0.757 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.6713, allocations: 317.8 kB / 0.7573 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.6717, allocations: 123.8 kB / 0.7575 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.6729, allocations: 0.9359 MB / 0.7584 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.6734, allocations: 31.98 kB / 0.7584 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6735, allocations: 64 kB / 0.7585 GB, free: 468 kB / 0.5606 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.0003453/0.6738, allocations: 245.5 kB / 0.7587 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.674, allocations: 71.58 kB / 0.7588 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.6757, allocations: 0.8661 MB / 0.7596 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6757, allocations: 4 kB / 0.7596 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6757, allocations: 4 kB / 0.7596 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6757, allocations: 0 / 0.7596 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.6778, allocations: 1.461 MB / 0.761 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6778, allocations: 0.875 kB / 0.7611 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6789, allocations: 212 kB / 0.7613 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.117e-05/0.679, allocations: 24.83 kB / 0.7613 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.679, allocations: 20 kB / 0.7613 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.6814, allocations: 2.879 MB / 0.7641 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6814, allocations: 4.031 kB / 0.7641 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.6827, allocations: 0.8191 MB / 0.7649 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.683, allocations: 192.7 kB / 0.7651 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/0.6831, allocations: 12.06 kB / 0.7651 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.6834, allocations: 19.98 kB / 0.7651 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.6835, allocations: 39.89 kB / 0.7652 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.6836, allocations: 43.98 kB / 0.7652 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005427/0.6841, allocations: 439 kB / 0.7656 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6841, allocations: 7.875 kB / 0.7656 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008883/0.685, allocations: 255.7 kB / 0.7659 GB, free: 8.375 MB / 0.5762 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.002165/0.6872, allocations: 1.551 MB / 0.7674 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.6883, allocations: 0.5351 MB / 0.7679 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6884, allocations: 4 kB / 0.7679 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.6894, allocations: 406.3 kB / 0.7683 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.691, allocations: 374.5 kB / 0.7687 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/0.6997, allocations: 6.314 MB / 0.7748 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.7003, allocations: 0.9415 MB / 0.7757 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009904/0.7013, allocations: 454.4 kB / 0.7762 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.7018, allocations: 287.3 kB / 0.7765 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.7018, allocations: 0 / 0.7765 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06082/0.7626, allocations: 24.48 MB / 0.8004 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.52, allocations: 8 kB / 0.8004 GB, free: 4.848 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.6376179701183]