Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.00174/0.00174, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.00252/0.00252, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2431/0.2431, allocations: 46.93 MB / 360.8 MB, free: 4.188 MB / 286.1 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.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 79.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4229, allocations: 66.07 MB / 0.5607 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.237/0.6599, allocations: 178.1 MB / 0.7347 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3241/0.984, allocations: 5.359 MB / 0.7399 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.9851, allocations: 27.5 kB / 0.7399 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.9861, allocations: 322.4 kB / 0.7402 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.9903, allocations: 1.292 MB / 0.7415 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.9929, allocations: 0.9852 MB / 0.7424 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.9952, allocations: 1.882 MB / 0.7443 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006357/0.9959, allocations: 392.4 kB / 0.7447 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.9982, allocations: 1.115 MB / 0.7458 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009751/0.9992, allocations: 0.702 MB / 0.7464 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.9993, allocations: 59.78 kB / 0.7465 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/1.001, allocations: 0.6456 MB / 0.7471 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/1.001, allocations: 270.5 kB / 0.7474 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/1.001, allocations: 400.4 kB / 0.7478 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/1.003, allocations: 1.306 MB / 0.749 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.003, allocations: 0.875 kB / 0.749 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/1.003, allocations: 0 / 0.749 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.119e-05/1.003, allocations: 5.078 kB / 0.749 GB, free: 1.574 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.002145/1.005, allocations: 1.045 MB / 0.7501 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.005, allocations: 14 kB / 0.7501 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/1.005, allocations: 99.19 kB / 0.7502 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/1.006, allocations: 139.3 kB / 0.7503 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/1.007, allocations: 480.5 kB / 0.7508 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/1.007, allocations: 158.3 kB / 0.7509 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/1.007, allocations: 46.22 kB / 0.751 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.008, allocations: 0.8229 MB / 0.7518 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.008, allocations: 2.578 kB / 0.7518 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/1.008, allocations: 29.72 kB / 0.7518 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/1.008, allocations: 33.47 kB / 0.7518 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/1.009, allocations: 0.6226 MB / 0.7524 GB, free: 16.41 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.004258/1.013, allocations: 3.89 MB / 0.7562 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/1.014, allocations: 340.4 kB / 0.7566 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.014, allocations: 169.2 kB / 0.7567 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.725e-05/1.014, allocations: 16.78 kB / 0.7567 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/1.014, allocations: 39.97 kB / 0.7568 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/1.014, allocations: 0 / 0.7568 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005033/1.019, allocations: 1.607 MB / 0.7583 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.019, allocations: 135 kB / 0.7585 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/1.02, allocations: 0.6144 MB / 0.7591 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/1.02, allocations: 34.8 kB / 0.7591 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/1.02, allocations: 375.5 kB / 0.7595 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/1.02, allocations: 153 kB / 0.7596 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/1.02, allocations: 157.7 kB / 0.7598 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.02, allocations: 382.9 kB / 0.7601 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/1.021, allocations: 207.2 kB / 0.7603 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/1.021, allocations: 0.5114 MB / 0.7608 GB, free: 12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/1.022, allocations: 0.7473 MB / 0.7616 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.022, allocations: 2.281 kB / 0.7616 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001231/1.023, allocations: 0.88 MB / 0.7624 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.023, allocations: 13.34 kB / 0.7624 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.023, allocations: 7.969 kB / 0.7624 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/1.025, allocations: 319.2 kB / 0.7627 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/1.025, allocations: 121.8 kB / 0.7629 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.026, allocations: 0.9319 MB / 0.7638 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/1.027, allocations: 28.77 kB / 0.7638 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/1.027, allocations: 69.38 kB / 0.7639 GB, free: 11.02 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.0003952/1.027, allocations: 247.8 kB / 0.7641 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.027, allocations: 69.08 kB / 0.7642 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.029, allocations: 0.8657 MB / 0.765 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.029, allocations: 8.047 kB / 0.765 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.029, allocations: 0 / 0.765 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.029, allocations: 0.9688 kB / 0.765 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/1.031, allocations: 1.203 MB / 0.7662 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.031, allocations: 2.156 kB / 0.7662 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/1.032, allocations: 211.8 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.476e-05/1.032, allocations: 26.12 kB / 0.7664 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.032, allocations: 23.19 kB / 0.7664 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/1.034, allocations: 2.672 MB / 0.769 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.034, allocations: 3.375 kB / 0.7691 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/1.036, allocations: 0.8158 MB / 0.7698 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/1.036, allocations: 123.8 kB / 0.77 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/1.036, allocations: 9.406 kB / 0.77 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/1.036, allocations: 19 kB / 0.77 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/1.037, allocations: 40.67 kB / 0.77 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/1.037, allocations: 48.88 kB / 0.7701 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000521/1.037, allocations: 437.7 kB / 0.7705 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/1.037, allocations: 0.6562 kB / 0.7705 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009153/1.038, allocations: 257.1 kB / 0.7707 GB, free: 7.539 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.001923/1.04, allocations: 1.547 MB / 0.7723 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.041, allocations: 0.5354 MB / 0.7728 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.041, allocations: 1.125 kB / 0.7728 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/1.042, allocations: 406.8 kB / 0.7732 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.044, allocations: 374.9 kB / 0.7735 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008103/1.052, allocations: 6.33 MB / 0.7797 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/1.052, allocations: 0.928 MB / 0.7806 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000992/1.053, allocations: 467 kB / 0.7811 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/1.054, allocations: 283.9 kB / 0.7813 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/1.054, allocations: 0 / 0.7813 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06444/1.118, allocations: 25 MB / 0.8057 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.27, allocations: 3.781 kB / 0.8057 GB, free: 6.977 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.584779081000306]