Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001797/0.001797, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001589/0.001589, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2265/0.2265, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 79.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3333, allocations: 66.08 MB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2351/0.5684, allocations: 168.7 MB / 0.7255 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.5795, allocations: 6.827 MB / 0.7322 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.5804, allocations: 27.75 kB / 0.7322 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.5819, allocations: 413.5 kB / 0.7326 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.5891, allocations: 2.403 MB / 0.7349 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3682/0.9574, allocations: 2.346 MB / 0.7372 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003586/0.9609, allocations: 2.21 MB / 0.7394 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000999/0.9619, allocations: 0.5083 MB / 0.7399 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004276/0.9662, allocations: 1.878 MB / 0.7417 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.9678, allocations: 0.8898 MB / 0.7426 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.968, allocations: 94.41 kB / 0.7427 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007179/0.9752, allocations: 4.263 MB / 0.7468 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.9758, allocations: 446.1 kB / 0.7472 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.9765, allocations: 461.4 kB / 0.7477 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.9832, allocations: 3.692 MB / 0.7513 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.9832, allocations: 0.9375 kB / 0.7513 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9832, allocations: 0 / 0.7513 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.9832, allocations: 2.203 kB / 0.7513 GB, free: 3.008 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003778/0.987, allocations: 1.692 MB / 0.7529 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.987, allocations: 8.906 kB / 0.753 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.9872, allocations: 123.7 kB / 0.7531 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.9876, allocations: 114.6 kB / 0.7532 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.9886, allocations: 0.5641 MB / 0.7537 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.9888, allocations: 170.3 kB / 0.7539 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.9889, allocations: 68.17 kB / 0.754 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.9906, allocations: 1.566 MB / 0.7555 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.9906, allocations: 3.953 kB / 0.7555 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.9907, allocations: 36.89 kB / 0.7555 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.9908, allocations: 59.36 kB / 0.7556 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.9923, allocations: 1.153 MB / 0.7567 GB, free: 17.04 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.005645/0.9979, allocations: 3.805 MB / 0.7604 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.9993, allocations: 0.7879 MB / 0.7612 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.9998, allocations: 401.9 kB / 0.7616 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/1, allocations: 217.4 kB / 0.7618 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1, allocations: 47.19 kB / 0.7618 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/1, allocations: 1.094 kB / 0.7618 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01165/1.012, allocations: 3.944 MB / 0.7657 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/1.012, allocations: 112.8 kB / 0.7658 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/1.013, allocations: 0.6747 MB / 0.7665 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.013, allocations: 45.2 kB / 0.7665 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/1.013, allocations: 392.2 kB / 0.7669 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.013, allocations: 309.3 kB / 0.7672 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/1.014, allocations: 191.7 kB / 0.7673 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.014, allocations: 390.7 kB / 0.7677 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/1.015, allocations: 498.6 kB / 0.7682 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/1.016, allocations: 0.8055 MB / 0.769 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/1.018, allocations: 1.285 MB / 0.7702 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.018, allocations: 3.312 kB / 0.7702 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003675/1.021, allocations: 1.668 MB / 0.7719 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/1.021, allocations: 7.531 kB / 0.7719 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/1.022, allocations: 6.375 kB / 0.7719 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007114/1.029, allocations: 1.313 MB / 0.7732 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/1.029, allocations: 158.2 kB / 0.7733 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/1.032, allocations: 1.521 MB / 0.7748 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.033, allocations: 52.61 kB / 0.7749 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.033, allocations: 60.88 kB / 0.7749 GB, free: 12.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006474/1.034, allocations: 294.9 kB / 0.7752 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/1.034, allocations: 94.83 kB / 0.7753 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/1.037, allocations: 1.678 MB / 0.7769 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.037, allocations: 8.344 kB / 0.7769 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.037, allocations: 0 / 0.7769 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.037, allocations: 10.16 kB / 0.7769 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/1.042, allocations: 2.37 MB / 0.7793 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.042, allocations: 3.938 kB / 0.7793 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.043, allocations: 259.1 kB / 0.7795 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/1.045, allocations: 382.7 kB / 0.7799 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/1.045, allocations: 30.91 kB / 0.7799 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/1.048, allocations: 2.245 MB / 0.7821 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.048, allocations: 3.5 kB / 0.7821 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/1.052, allocations: 2.032 MB / 0.7841 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/1.052, allocations: 222.5 kB / 0.7843 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/1.053, allocations: 24 kB / 0.7843 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/1.053, allocations: 52.75 kB / 0.7844 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.053, allocations: 65.14 kB / 0.7844 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/1.054, allocations: 49.84 kB / 0.7845 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006134/1.054, allocations: 0.4954 MB / 0.785 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.054, allocations: 0 / 0.785 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001959/1.056, allocations: 0.6964 MB / 0.7856 GB, free: 9.734 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005784/1.062, allocations: 3.296 MB / 0.7889 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.064, allocations: 1.184 MB / 0.79 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.064, allocations: 2.688 kB / 0.79 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.066, allocations: 0.6953 MB / 0.7907 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.068, allocations: 0.5263 MB / 0.7912 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.084, allocations: 9.688 MB / 0.8007 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/1.084, allocations: 450.5 kB / 0.8011 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001151/1.086, allocations: 376.9 kB / 0.8015 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/1.086, allocations: 330.2 kB / 0.8018 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/1.086, allocations: 0 / 0.8018 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.187, allocations: 45.07 MB / 0.8458 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.74, allocations: 14.94 kB / 0.8458 GB, free: 12.06 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_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_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.273281493224204]