Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001712/0.001712, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002004/0.002004, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.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.2367/0.2367, allocations: 44.91 MB / 358.8 MB, free: 6.301 MB / 286.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.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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 71.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4276, allocations: 65.47 MB / 0.557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.23/0.6576, allocations: 178.1 MB / 0.7309 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4302/1.088, allocations: 5.373 MB / 0.7362 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/1.089, allocations: 27.62 kB / 0.7362 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/1.09, allocations: 319.1 kB / 0.7365 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005739/1.096, allocations: 1.292 MB / 0.7378 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/1.101, allocations: 0.9868 MB / 0.7388 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004261/1.105, allocations: 1.876 MB / 0.7406 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000817/1.106, allocations: 389.4 kB / 0.741 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/1.109, allocations: 1.126 MB / 0.7421 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.11, allocations: 0.6973 MB / 0.7427 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/1.111, allocations: 60.97 kB / 0.7428 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/1.113, allocations: 0.6446 MB / 0.7434 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/1.113, allocations: 273.2 kB / 0.7437 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005451/1.114, allocations: 395.3 kB / 0.7441 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/1.116, allocations: 1.309 MB / 0.7453 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.116, allocations: 1.062 kB / 0.7453 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/1.116, allocations: 0 / 0.7453 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.402e-05/1.116, allocations: 0 / 0.7453 GB, free: 1.676 MB / 0.5606 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.003377/1.119, allocations: 1.052 MB / 0.7464 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.119, allocations: 11 kB / 0.7464 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/1.119, allocations: 104 kB / 0.7465 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.121, allocations: 134.3 kB / 0.7466 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.122, allocations: 480.8 kB / 0.7471 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/1.122, allocations: 154.5 kB / 0.7472 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.122, allocations: 54.28 kB / 0.7473 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/1.124, allocations: 0.8142 MB / 0.7481 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/1.124, allocations: 5.719 kB / 0.7481 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.124, allocations: 23.12 kB / 0.7481 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/1.124, allocations: 37.5 kB / 0.7481 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/1.126, allocations: 0.6226 MB / 0.7487 GB, free: 16.51 MB / 0.5762 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.007058/1.133, allocations: 3.886 MB / 0.7525 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/1.134, allocations: 343.2 kB / 0.7529 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/1.134, allocations: 164.4 kB / 0.753 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/1.134, allocations: 22.42 kB / 0.753 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/1.134, allocations: 37.53 kB / 0.7531 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.996e-06/1.134, allocations: 1.094 kB / 0.7531 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.008292/1.143, allocations: 1.61 MB / 0.7546 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.143, allocations: 135.8 kB / 0.7548 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/1.144, allocations: 0.6158 MB / 0.7554 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/1.144, allocations: 32.33 kB / 0.7554 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/1.144, allocations: 374.6 kB / 0.7558 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.144, allocations: 151.6 kB / 0.7559 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.144, allocations: 160.2 kB / 0.7561 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002681/1.145, allocations: 374.8 kB / 0.7564 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/1.145, allocations: 204.8 kB / 0.7566 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008755/1.146, allocations: 0.5141 MB / 0.7571 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/1.148, allocations: 0.7482 MB / 0.7578 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.148, allocations: 4.828 kB / 0.7578 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002233/1.15, allocations: 0.8813 MB / 0.7587 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/1.15, allocations: 14.72 kB / 0.7587 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.15, allocations: 8.562 kB / 0.7587 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/1.152, allocations: 311.7 kB / 0.759 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/1.153, allocations: 118.6 kB / 0.7591 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/1.154, allocations: 0.939 MB / 0.7601 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/1.155, allocations: 30.09 kB / 0.7601 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.155, allocations: 70.27 kB / 0.7602 GB, free: 11.12 MB / 0.5762 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.000578/1.156, allocations: 247.6 kB / 0.7604 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.156, allocations: 68.05 kB / 0.7605 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/1.158, allocations: 0.8693 MB / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.159, allocations: 9.406 kB / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.159, allocations: 0 / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/1.159, allocations: 7.047 kB / 0.7613 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/1.161, allocations: 1.204 MB / 0.7625 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.161, allocations: 2.969 kB / 0.7625 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.163, allocations: 211.1 kB / 0.7627 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/1.163, allocations: 27.12 kB / 0.7627 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/1.163, allocations: 18 kB / 0.7627 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003347/1.167, allocations: 2.677 MB / 0.7654 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.167, allocations: 6.188 kB / 0.7654 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/1.169, allocations: 0.8164 MB / 0.7662 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/1.169, allocations: 119.8 kB / 0.7663 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.169, allocations: 20.5 kB / 0.7663 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/1.17, allocations: 13.7 kB / 0.7663 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.17, allocations: 42.12 kB / 0.7663 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/1.17, allocations: 43.81 kB / 0.7664 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008238/1.171, allocations: 439.6 kB / 0.7668 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.171, allocations: 1.203 kB / 0.7668 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001479/1.172, allocations: 254.7 kB / 0.767 GB, free: 7.633 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.003092/1.175, allocations: 1.543 MB / 0.7686 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.177, allocations: 0.5338 MB / 0.7691 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.177, allocations: 3.5 kB / 0.7691 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/1.179, allocations: 406.3 kB / 0.7695 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.181, allocations: 368.7 kB / 0.7698 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/1.193, allocations: 6.344 MB / 0.776 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/1.194, allocations: 0.9333 MB / 0.7769 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0016/1.196, allocations: 466.3 kB / 0.7774 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/1.196, allocations: 285.9 kB / 0.7776 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.196, allocations: 0 / 0.7776 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/1.273, allocations: 24.99 MB / 0.802 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.53, allocations: 15.38 kB / 0.8021 GB, free: 8.461 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 18.72163135399751]