Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001615/0.001615, 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.001613/0.001613, allocations: 212.3 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2377/0.2377, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2163/0.5474, allocations: 178.1 MB / 0.7346 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3292/0.8766, allocations: 5.361 MB / 0.7398 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.8774, allocations: 27 kB / 0.7398 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008373/0.8783, allocations: 326.7 kB / 0.7401 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.8817, allocations: 1.291 MB / 0.7414 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.8844, allocations: 0.9852 MB / 0.7424 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.8867, allocations: 1.876 MB / 0.7442 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.8872, allocations: 401.7 kB / 0.7446 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.8893, allocations: 1.105 MB / 0.7457 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.8905, allocations: 0.7171 MB / 0.7464 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.8906, allocations: 62.06 kB / 0.7464 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.8922, allocations: 0.6406 MB / 0.747 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.8924, allocations: 269.3 kB / 0.7473 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.8929, allocations: 400.8 kB / 0.7477 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.8946, allocations: 1.307 MB / 0.749 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8946, allocations: 3.469 kB / 0.749 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8946, allocations: 0 / 0.749 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.8946, allocations: 0.9688 kB / 0.749 GB, free: 1.602 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.002121/0.8967, allocations: 1.05 MB / 0.75 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8968, allocations: 11.22 kB / 0.75 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.8969, allocations: 96.02 kB / 0.7501 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/0.8977, allocations: 141.5 kB / 0.7502 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009337/0.8986, allocations: 473 kB / 0.7507 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.8988, allocations: 158.5 kB / 0.7508 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.8989, allocations: 52.75 kB / 0.7509 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.9, allocations: 0.8135 MB / 0.7517 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.9, allocations: 3.094 kB / 0.7517 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.9001, allocations: 22.28 kB / 0.7517 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.9001, allocations: 40.22 kB / 0.7517 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.901, allocations: 0.6224 MB / 0.7523 GB, free: 16.44 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.004351/0.9054, allocations: 3.895 MB / 0.7562 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.9059, allocations: 343.5 kB / 0.7565 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.9062, allocations: 162.6 kB / 0.7566 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.03e-05/0.9063, allocations: 20.05 kB / 0.7567 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.9063, allocations: 40.84 kB / 0.7567 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.9063, allocations: 4.125 kB / 0.7567 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005096/0.9114, allocations: 1.595 MB / 0.7583 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.9115, allocations: 135.5 kB / 0.7584 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.9121, allocations: 0.6158 MB / 0.759 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.9122, allocations: 34.83 kB / 0.759 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.9124, allocations: 372.2 kB / 0.7594 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.9125, allocations: 155.3 kB / 0.7595 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.9127, allocations: 155.2 kB / 0.7597 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.9129, allocations: 382.2 kB / 0.76 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.9132, allocations: 204.2 kB / 0.7602 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.9137, allocations: 0.5155 MB / 0.7607 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.9146, allocations: 0.7534 MB / 0.7615 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9146, allocations: 4.141 kB / 0.7615 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001266/0.9159, allocations: 0.8763 MB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9159, allocations: 11.72 kB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9159, allocations: 10.28 kB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.9172, allocations: 316.8 kB / 0.7627 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.9175, allocations: 121 kB / 0.7628 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.9186, allocations: 0.9335 MB / 0.7637 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.9191, allocations: 26 kB / 0.7637 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.9192, allocations: 70.25 kB / 0.7638 GB, free: 11.05 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.0003604/0.9195, allocations: 245.6 kB / 0.764 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9197, allocations: 70.89 kB / 0.7641 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.921, allocations: 0.8672 MB / 0.7649 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.921, allocations: 3.188 kB / 0.7649 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9211, allocations: 3.359 kB / 0.7649 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.9211, allocations: 0 / 0.7649 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.9228, allocations: 1.208 MB / 0.7661 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9228, allocations: 3.438 kB / 0.7661 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000951/0.9238, allocations: 208.7 kB / 0.7663 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.662e-05/0.9238, allocations: 24.83 kB / 0.7663 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.9239, allocations: 21.98 kB / 0.7664 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.9259, allocations: 2.68 MB / 0.769 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9259, allocations: 3.531 kB / 0.769 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.927, allocations: 0.8194 MB / 0.7698 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.9273, allocations: 119.8 kB / 0.7699 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.9274, allocations: 9.562 kB / 0.7699 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.9277, allocations: 18.58 kB / 0.7699 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.9278, allocations: 39.97 kB / 0.77 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.9279, allocations: 42.23 kB / 0.77 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004449/0.9283, allocations: 443.7 kB / 0.7704 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9283, allocations: 1.203 kB / 0.7704 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008578/0.9292, allocations: 257.9 kB / 0.7707 GB, free: 7.566 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.001863/0.931, allocations: 1.545 MB / 0.7722 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009943/0.932, allocations: 0.5391 MB / 0.7727 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.932, allocations: 0.9688 kB / 0.7727 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/0.9329, allocations: 404.8 kB / 0.7731 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.9345, allocations: 364.9 kB / 0.7734 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.9422, allocations: 6.348 MB / 0.7796 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.9427, allocations: 0.934 MB / 0.7805 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009842/0.9437, allocations: 464.1 kB / 0.781 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.9441, allocations: 287 kB / 0.7813 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.9441, allocations: 0 / 0.7813 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/1.007, allocations: 24.99 MB / 0.8057 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.03, allocations: 3.094 kB / 0.8057 GB, free: 7.145 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.262552589876577]